summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-19 05:52:20 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-19 08:15:15 +0100
commitdf7c8e845e8e2030e8ae947e0ace56d184d0e9a0 (patch)
tree15f68e17f2efaf853ffc8f3ba03bca37d847a32b /arch
parentx86: cpumask: x86 mmio-mod.c use cpumask_var_t for downed_cpus (diff)
downloadlinux-df7c8e845e8e2030e8ae947e0ace56d184d0e9a0.tar.xz
linux-df7c8e845e8e2030e8ae947e0ace56d184d0e9a0.zip
cpumask: remove cpumask allocation from idle_balance
Impact: fix circular locking Steven reports a circular locking from alloc_cpumask_var doing a wakeup. We get rid of this using the tried-and-true technique of using a per-cpu cpumask_var_t rather than doing an alloc every time. Simpler and more robust than a rare, implicit allocation within an atomic codepath. Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> LKML-Reference: <alpine.DEB.2.00.0903181729360.31583@gandalf.stny.rr.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions