diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-19 05:52:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-19 08:15:15 +0100 |
commit | df7c8e845e8e2030e8ae947e0ace56d184d0e9a0 (patch) | |
tree | 15f68e17f2efaf853ffc8f3ba03bca37d847a32b /arch | |
parent | x86: cpumask: x86 mmio-mod.c use cpumask_var_t for downed_cpus (diff) | |
download | linux-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