diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-19 15:22:20 +1030 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-19 08:15:15 +0100 |
commit | df7c8e845e8e2030e8ae947e0ace56d184d0e9a0 (patch) | |
tree | 15f68e17f2efaf853ffc8f3ba03bca37d847a32b /arch/sparc/include | |
parent | c38da5692e3a4d5d303c04cbf7e526f1eb761076 (diff) |
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/sparc/include')
0 files changed, 0 insertions, 0 deletions