Re: To make a function get executed on cpu2

From: Zwane Mwaikambo (zwane@arm.linux.org.uk)
Date: Wed Jul 02 2003 - 07:02:19 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:16 EST