From: Kirill Korotaev Date: Sun, 10 Dec 2006 10:20:11 +0000 (-0800) Subject: [PATCH] move_task_off_dead_cpu() should be called with disabled ints X-Git-Tag: v2.6.20-rc1~145^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054b9108e01ef27e2e6b32b4226abb6024626f06;p=pandora-kernel.git [PATCH] move_task_off_dead_cpu() should be called with disabled ints move_task_off_dead_cpu() requires interrupts to be disabled, while migrate_dead() calls it with enabled interrupts. Added appropriate comments to functions and added BUG_ON(!irqs_disabled()) into double_rq_lock() and double_lock_balance() which are the origin sources of such bugs. Signed-off-by: Kirill Korotaev Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed