diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-19 00:52:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-19 03:15:15 -0400 |
commit | df7c8e845e8e2030e8ae947e0ace56d184d0e9a0 (patch) | |
tree | 15f68e17f2efaf853ffc8f3ba03bca37d847a32b /kernel/power/main.c | |
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 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions