]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
smp_call_function() only lets all other CPUs execute a specific function,
authorShaohua Li <shaohua.li@intel.com>
Tue, 26 Jul 2011 10:14:56 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 05:14:27 +0000 (15:14 +1000)
commite6468bc195f122b0d46e4b9c3d6503cb8474f247
treec8e120b5eb2409b8919e33538339ceab46b9e320
parent84b1d7f0973e84b1212b2731ef8b1f5071a12e3b
smp_call_function() only lets all other CPUs execute a specific function,
while we expect all CPUs do in intel_idle.  Without the fix, we could have
one cpu which has auto_demotion enabled or has no boradcast timer setup.
Usually we don't see impact because auto demotion just harms power and the
intel_idle init is called in CPU 0, where boradcast timer delivers
interrupt, but this still could be a problem.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/idle/intel_idle.c