Zwane Mwaikambo <zwane@arm.linux.org.uk> wrote:
> On Mon, 30 Jun 2003, Raghava Raju wrote:
>
>> In multicpu systems in kernel version 2.4.19, how
>> can we specify that a function be executed on
>> a cpu of our choice(say cpu_2). Moreover if I call a
>> function from cpu_1 to be executed on cpu_2, I dont
>> want to wait in cpu_1 until complete execution of
>> function on cpu_2 . Is it possible?????
>>
>> Any example would be really helpful. Please
>> mail back to vraghava_raju@yahoo.com.
>
> You can't really do it portably across all architectures, Alpha has
> smp_call_function_on_cpu which would allow you to do this. If you're
Surely you can emulate it using smp_call_function and make it return
straight away if it runs on the wrong CPU.
-- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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:15 EST