lkml.org 
[lkml]   [2009]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched: Set correct normal_prio and prio values in sched_fork()
From
Date
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!



\
 
 \ /
  Last update: 2009-10-05 13:21    [W:0.152 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site