[PATCH 0/4] sched/rt: Substract number throttled rt_rq's tasks from rq->nr_running

From: Kirill Tkhai
Date: Fri Mar 14 2014 - 18:17:34 EST


This patchset makes RT class to fit generic scheme, which is used in fair and
deadline classes.

Number of tasks of throttled rt_rq and its children is being decremented from
rq->nr_running, when rt_rq becomes throlled.

---

Kirill Tkhai (4):
sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running
sched/rt: Add accessors rq_of_rt_se()
sched/rt: Substract number of tasks of throttled queues from rq->nr_running
sched: Revert commit 4c6c4e38c4e9


kernel/sched/fair.c | 4 --
kernel/sched/rt.c | 115 +++++++++++++++++++++++++++++++++++++++++++-------
kernel/sched/sched.h | 14 +-----
3 files changed, 102 insertions(+), 31 deletions(-)

--
Signed-off-by: Kirill Tkhai <tkhai@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/