mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kirill Tkhai <tkhai@yandex.ru>
To: linux-kernel@vger.kernel.org
Cc: Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@kernel.org>
Subject: [PATCH 0/4] sched/rt: Substract number throttled rt_rq's tasks from rq->nr_running
Date: Sat, 15 Mar 2014 02:13:37 +0400	[thread overview]
Message-ID: <1394835217.18748.26.camel@HP-250-G1-Notebook-PC> (raw)

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>



             reply	other threads:[~2014-03-14 22:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 22:13 Kirill Tkhai [this message]
2014-03-19 11:39 ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1394835217.18748.26.camel@HP-250-G1-Notebook-PC \
    --to=tkhai@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®