From: Hiroshi Shimamoto Date: Mon, 15 Oct 2007 15:00:11 +0000 (+0200) Subject: sched: clean up sched_fork() X-Git-Tag: v2.6.24-rc1~1289^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ddbf952508fb9911036c484a87f6351106b917c;p=pandora-kernel.git sched: clean up sched_fork() The adjusting sched_class is a missing part of the already existing "do not leak PI boosting priority to the child" at the sched_fork(). This patch moves the adjusting sched_class from wake_up_new_task() to sched_fork(). this also shrinks the code a bit: text data bss dec hex filename 40111 4018 292 44421 ad85 sched.o.before 40102 4018 292 44412 ad7c sched.o.after Signed-off-by: Hiroshi Shimamoto Signed-off-by: Dmitry Adamushko Signed-off-by: Ingo Molnar Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed