Re: [PATCH][2.5] fix preempt-issues with smp_call_function()

From: Andrew Morton (akpm@digeo.com)
Date: Wed Feb 26 2003 - 05:28:19 EST


Dave Jones <davej@codemonkey.org.uk> wrote:
>
> btw, (unrelated) shouldn't smp_call_function be doing magick checks
> with cpu_online() ?

Looks OK? It sprays the IPI out to all the other CPUs in cpu_online_map,
and waits for num_online_cpus()-1 CPUs to answer.

All very racy in the presence of CPUs going offline, but that's all over
the place. Depends how the offlining will be done I guess.

-
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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:35 EST