From: Andi Kleen Date: Wed, 14 Oct 2009 04:22:47 +0000 (+0200) Subject: HWPOISON: Allow schedule_on_each_cpu() from keventd X-Git-Tag: v2.6.32-rc6~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a64464349883891e21e74af16c05d6e1eeb4e9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed