[RFC PATCH v2 1/5] sched: get effective policy and rt_prio

2016-09-23 Thread Julien Desfossez
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 Cc: Steven Rostedt (Red Hat)

[RFC PATCH v2 1/5] sched: get effective policy and rt_prio

2016-09-23 Thread Julien Desfossez
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 Cc: Steven Rostedt (Red Hat) Cc: Thomas Gleixner Cc: