From: Herbert Xu <herbert@gondor.apana.org.au>
To: zwane@arm.linux.org.uk (Zwane Mwaikambo), linux-kernel@vger.kernel.org
Subject: Re: To make a function get executed on cpu2
Date: Wed, 02 Jul 2003 20:03:24 +1000 [thread overview]
Message-ID: <E19XeSS-0008Rg-00@gondolin.me.apana.org.au> (raw)
In-Reply-To: <Pine.LNX.4.53.0307011223520.2299@montezuma.mastecende.com>
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
next prev parent reply other threads:[~2003-07-02 9:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-01 6:20 To make a function get executed on cpu2 Raghava Raju
2003-07-01 16:33 ` Zwane Mwaikambo
2003-07-02 10:03 ` Herbert Xu [this message]
2003-07-02 12:02 ` Zwane Mwaikambo
2003-07-02 12:21 ` Dave Jones
2003-07-02 12:29 ` Zwane Mwaikambo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E19XeSS-0008Rg-00@gondolin.me.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).