• Andi Kleen's avatar
    HWPOISON: Allow schedule_on_each_cpu() from keventd · 65a64464
    Andi Kleen authored
    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>
    65a64464
workqueue.c 25.6 KB