Re: [PATCH -v2] use per cpu data for single cpu ipi calls

From: Peter Zijlstra
Date: Thu Jan 29 2009 - 13:45:25 EST


On Thu, 2009-01-29 at 10:39 -0800, Linus Torvalds wrote:

> But you're right, I'm still not seeing anything that looks _likely_ to be
> a problem. But I worry that it's something somebody may want to do.

Well, the kgdb case I looked at did exactly that, and that is a problem.

As for people wanting to do it, we have __smp_call_function_single() to
do just that, all you have to do is provide your own csd.



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