From: Mike Travis Date: Wed, 17 Dec 2008 01:34:03 +0000 (-0800) Subject: x86: Remove cpumask games in x86/kernel/cpu/intel_cacheinfo.c X-Git-Tag: v2.6.29-rc1~538^2~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2bb85549134c005e997e5a7ed303bda6a1ae738;p=pandora-kernel.git x86: Remove cpumask games in x86/kernel/cpu/intel_cacheinfo.c Impact: remove cpumask_t from stack. We should not try to save and restore cpus_allowed on current. We can't use work_on_cpu() here, since it's in the hotplug cpu path (if anyone else tries to get the hotplug lock from a workqueue we could deadlock against them). Fortunately, we can just use smp_call_function_single() since the function can run from an interrupt. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis Cc: Ingo Molnar Cc: Oleg Nesterov --- Reading git-diff-tree failed