From: Juri Lelli <juri.lelli@gmail.com>
To: Kirill Tkhai <ktkhai@parallels.com>
Cc: <linux-kernel@vger.kernel.org>, <peterz@infradead.org>,
<mingo@redhat.com>
Subject: Re: [PATCH] sched/deadline: Cleanup RT leftovers from {inc/dec}_dl_migration
Date: Tue, 25 Feb 2014 17:20:56 +0100 [thread overview]
Message-ID: <20140225172056.27f2091bcb0cb077281dcc45@gmail.com> (raw)
In-Reply-To: <1393343543.4089.5.camel@tkhai>
On Tue, 25 Feb 2014 19:52:23 +0400
Kirill Tkhai <ktkhai@parallels.com> wrote:
>
> In deadline class we do not have group scheduling.
>
> So, let's remove unnecessary
>
> X = X;
>
> equations.
>
Thanks!
- Juri
> Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
> CC: Juri Lelli <juri.lelli@gmail.com>
> CC: Peter Zijlstra <peterz@infradead.org>
> CC: Ingo Molnar <mingo@redhat.com>
> ---
> kernel/sched/deadline.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
> index ef96edc..2c28437 100644
> --- a/kernel/sched/deadline.c
> +++ b/kernel/sched/deadline.c
> @@ -135,7 +135,6 @@ static void update_dl_migration(struct dl_rq *dl_rq)
> static void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
> {
> struct task_struct *p = dl_task_of(dl_se);
> - dl_rq = &rq_of_dl_rq(dl_rq)->dl;
>
> if (p->nr_cpus_allowed > 1)
> dl_rq->dl_nr_migratory++;
> @@ -146,7 +145,6 @@ static void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
> static void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
> {
> struct task_struct *p = dl_task_of(dl_se);
> - dl_rq = &rq_of_dl_rq(dl_rq)->dl;
>
> if (p->nr_cpus_allowed > 1)
> dl_rq->dl_nr_migratory--;
>
>
>
next prev parent reply other threads:[~2014-02-25 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 15:52 [PATCH] sched/deadline: Cleanup RT leftovers from {inc/dec}_dl_migration Kirill Tkhai
2014-02-25 16:20 ` Juri Lelli [this message]
2014-02-27 13:31 ` [tip:sched/urgent] sched/deadline: Cleanup RT leftovers from {inc /dec}_dl_migration tip-bot for Kirill Tkhai
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=20140225172056.27f2091bcb0cb077281dcc45@gmail.com \
--to=juri.lelli@gmail.com \
--cc=ktkhai@parallels.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--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