sched: get effective policy and rt_prio
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 16 Sep 2016 19:22:17 +0000 (15:22 -0400)
committerJulien Desfossez <jdesfossez@efficios.com>
Fri, 16 Sep 2016 21:01:58 +0000 (17:01 -0400)
commitf38714089f210c9e240a941a08b66f0e83941d6d
tree2d7bebc0f53f442e23bc1bafef7ff9a3b2fe5289
parentf14bf141e6378d6176bc23e2509f2535e8a0aae7
sched: get effective policy and rt_prio

Helper functions to get the effective policy and rt_priority from the
prio and policy values. This is useful in PI situations because these
fields are not updated in the task, only the sched_class is temporarily
modified.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
include/linux/sched/rt.h
kernel/locking/rtmutex.c
This page took 0.026381 seconds and 5 git commands to generate.