sched: fix hrtick_start_fair and CPU-Hotplug
authorPeter Zijlstra <peterz@infradead.org>
Tue, 29 Apr 2008 08:02:46 +0000 (10:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:18 +0000 (23:56 +0200)
commitb328ca182f01c2a04b85e0ee8a410720b104fbcc
treed04ba3472a8f57788fb7e6e614e8e6b3c5a79b55
parent104f64549c961a797ff5f7c59946a7caa335c5b0
sched: fix hrtick_start_fair and CPU-Hotplug

Gautham R Shenoy reported:

 > While running the usual CPU-Hotplug stress tests on linux-2.6.25,
 > I noticed the following in the console logs.
 >
 > This is a wee bit difficult to reproduce. In the past 10 runs I hit this
 > only once.
 >
 > ------------[ cut here ]------------
 >
 > WARNING: at kernel/sched.c:962 hrtick+0x2e/0x65()
 >
 > Just wondering if we are doing a good job at handling the cancellation
 > of any per-cpu scheduler timers during CPU-Hotplug.

This looks like its indeed not cancelled at all and migrates the it to
another cpu. Fix it via a proper hotplug notifier mechanism.

Reported-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: stable@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
This page took 0.042746 seconds and 5 git commands to generate.