From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Ingo Molnar <mingo@elte.hu>, Mike Galbraith <efault@gmx.de>,
Linux Kernel Mailing <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched: Set correct normal_prio and prio values in sched_fork()
Date: Mon, 05 Oct 2009 13:20:22 +0200 [thread overview]
Message-ID: <1254741622.26976.37.camel@twins> (raw)
In-Reply-To: <f8f46736fd4e7f090ac0.1253774830@mudlark.pw.nest>
On Thu, 2009-09-24 at 06:47 +0000, Peter Williams wrote:
> normal_prio should be updated if policy changes from RT to SCHED_MORMAL
> or if static_prio/nice is changed. Some paths through sched_fork()
> ignore this requirement and may result in normal_prio having an invalid
> value.
>
> Fixing this issue allows the call to effective_prio() in
> wake_up_new_task() to be removed.
>
> Signed-off-by: Peter Williams <pwil3058@bigpond.net.au>
/me twists his brain into a pretsel, squints his eyes and sees its
obvious ;-)
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Thank Peter!
next prev parent reply other threads:[~2009-10-05 11:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 6:47 [PATCH] sched: Set correct normal_prio and prio values in sched_fork() Peter Williams
2009-10-05 11:20 ` Peter Zijlstra [this message]
2009-10-05 11:47 ` [tip:sched/urgent] " tip-bot for Peter Williams
2009-12-12 5:55 ` Arve Hjønnevåg
2009-12-12 6:07 ` Mike Galbraith
2009-12-12 6:16 ` Ingo Molnar
2009-12-15 4:19 ` Arve Hjønnevåg
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=1254741622.26976.37.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pwil3058@bigpond.net.au \
/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