From: Zwane Mwaikambo Date: Wed, 11 Jan 2006 21:43:09 +0000 (+0100) Subject: [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI X-Git-Tag: v2.6.16-rc1~365 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=329d400f47ddfe8ff599823d739c5c5565da3207;p=pandora-kernel.git [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI I noticed that some lowlevel send_IPI_mask helpers had a hotplug/preempt race whereupon the cpu_online_map was read before disabling preemption; ... cpumask_t mask = cpu_online_map; int cpu = get_cpu(); cpu_clear(cpu, mask); ... But then i realised that there is no need for these lowlevel functions to be going through all this trouble when all the callers are already made hotplug/preempt safe. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed