From 2ddbf952508fb9911036c484a87f6351106b917c Mon Sep 17 00:00:00 2001 From: Hiroshi Shimamoto Date: Mon, 15 Oct 2007 17:00:11 +0200 Subject: [PATCH] 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-format-patch failed