Skip to content
Commit 65a64464 authored by Andi Kleen's avatar Andi Kleen
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
parent 5d5429af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment