From: Peter Zijlstra Date: Mon, 26 Mar 2012 11:16:15 +0000 (+0200) Subject: sched/x86/smp: Do not enable IRQs over calibrate_delay() X-Git-Tag: v3.4-rc1~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc758133ed73d4b06952bec21da23e28e62bf3ba;p=pandora-kernel.git 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 Cc: Linus Torvalds Link: http://lkml.kernel.org/n/tip-yaezmlbriluh166tfkgni22m@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed