From: Srivatsa Vaddagiri Date: Wed, 17 Oct 2007 14:55:11 +0000 (+0200) Subject: sched: fix new task startup crash X-Git-Tag: v2.6.24-rc1~489^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dca1e0fcb696716840a3bc8f20a6941b484dbf;p=pandora-kernel.git sched: fix new task startup crash Child task may be added on a different cpu that the one on which parent is running. In which case, task_new_fair() should check whether the new born task's parent entity should be added as well on the cfs_rq. Patch below fixes the problem in task_new_fair. This could fix the put_prev_task_fair() crashes reported. Reported-by: Kamalesh Babulal Reported-by: Andy Whitcroft Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed