mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] sched/rt: Substract number throttled rt_rq's tasks from rq->nr_running
@ 2014-03-14 22:13 Kirill Tkhai
  2014-03-19 11:39 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Tkhai @ 2014-03-14 22:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Zijlstra, Ingo Molnar

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@yandex.ru>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-19 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-14 22:13 [PATCH 0/4] sched/rt: Substract number throttled rt_rq's tasks from rq->nr_running Kirill Tkhai
2014-03-19 11:39 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®