diff options
author | Andi Kleen <ak@linux.intel.com> | 2009-10-14 06:22:47 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-10-19 07:29:22 +0200 |
commit | 65a64464349883891e21e74af16c05d6e1eeb4e9 (patch) | |
tree | 7b4744f01840c337506dbb24debe5e50ee76186e /mm/memory-failure.c | |
parent | 5d5429af066b8896e903d829ac143711ed2c25f2 (diff) | |
download | kernel-common-65a64464349883891e21e74af16c05d6e1eeb4e9.tar.gz kernel-common-65a64464349883891e21e74af16c05d6e1eeb4e9.tar.bz2 kernel-common-65a64464349883891e21e74af16c05d6e1eeb4e9.zip |
HWPOISON: Allow schedule_on_each_cpu() from keventd
Right now when calling schedule_on_each_cpu() from keventd there
is a deadlock because it tries to schedule a work item on the current CPU
too. This happens via lru_add_drain_all() in hwpoison.
Just call the function for the current CPU in this case. This is actually
faster too.
Debugging with Fengguang Wu & Max Asbock
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions