Re: To make a function get executed on cpu2

Zwane Mwaikambo (zwane@arm.linux.org.uk)
Wed, 2 Jul 2003 08:02:19 -0400 (EDT)


On Wed, 2 Jul 2003, Herbert Xu wrote:

> Surely you can emulate it using smp_call_function and make it return
> straight away if it runs on the wrong CPU.

Yes you can, i thought about the same thing, but it simply generates
unecessary APIC bus traffic and just sounds horrid. Not to mention it
doesn't sound all that friendly on larger systems. But if you're using
smp_call_function you're not really all that speed critical anyway, so
this should suffice.

Zwane

-- 
function.linuxpower.ca
-
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/