From: Peter Williams Date: Thu, 24 Sep 2009 06:47:10 +0000 (+0000) Subject: sched: Set correct normal_prio and prio values in sched_fork() X-Git-Tag: v2.6.32-rc4~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83f9ac2632732bd1678150b5a03d152f912fe72;p=pandora-kernel.git sched: Set correct normal_prio and prio values in sched_fork() 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 Acked-by: Peter Zijlstra Cc: Mike Galbraith LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed