diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2012-03-26 15:16:15 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-03-27 16:50:10 +0400 |
commit | bc758133ed73d4b06952bec21da23e28e62bf3ba (patch) | |
tree | c7d2a8cec16533e7d3b3896f9fdc7c0350b8a041 /include/linux | |
parent | 6c16a6dcb05e51ace340ff7bc6dbe647f1593528 (diff) | |
download | linux-bc758133ed73d4b06952bec21da23e28e62bf3ba.tar.xz |
sched/x86/smp: Do not enable IRQs over calibrate_delay()
We should not ever enable IRQs until we're fully set up. This opens up
a window where interrupts can hit the cpu and interrupts can do
wakeups, wakeups need state that isn't set-up yet, in particular this
cpu isn't elegible to run tasks, so if any cpu-affine task that got
created in CPU_UP_PREPARE manages to get a wakeup, its affinity mask
will get broken and we'll run into lots of 'interesting' problems.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-yaezmlbriluh166tfkgni22m@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions