]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix sched_fork()
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:11 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:11 +0000 (17:00 +0200)
commit49edac4c76cf536597f8aba0dea1dfc99831c550
tree11477c89ecec6ffb557d3b2a9d3fcd70c9bc59e0
parent32ce4c76518e0cdc42db1a99f4d5c226915d0ee9
sched: fix sched_fork()

fix sched_fork(): large latencies at new task creation time because
the ->vruntime was not fixed up cross-CPU, if the parent got migrated
after the child's CPU got set up.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c