> I found a function in the file mm/slab.c called smp_call_function_all_cpus()
> which tries to do the thing we want, but I think not even this function is
> preempt-safe...!
That certainly looks erm, odd.
> Perhaps even the semantic of the function smp_call_function() could be changed
> to call the function on every CPU? Just an idea...
Some places that use it actually rely on it not executing on the local cpu.
It would also break backwards compatabiltiy for no real good reason.
Dave
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/