Re: [patch] i386/x86_64: smp_call_function locking inconsistency

From: Andi Kleen
Date: Fri Jun 08 2007 - 15:44:22 EST



> Indeed -- this was doubly problematic because the un-safeness
> was because of smp_processor_id() as well as the (eventual)
> access of cpu_online_map (via smp_call_function() ->
> num_online_cpus()) ... thanks for letting me know about this.

CPU hotplug is changed to use the freezer anyways. It is known
that the current handling of these maps in preempt has various holes and this
little case here won't make it overall much worse.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/