From: Arjan van de Ven <arjan@infradead.org>
To: "Xu Yang" <risingsunxy@googlemail.com>
Cc: "Bernd Petrovitsch" <bernd@firmix.at>, linux-kernel@vger.kernel.org
Subject: Re: looking for a function
Date: Tue, 16 Sep 2008 07:18:47 -0700 [thread overview]
Message-ID: <20080916071847.4a6ed31c@infradead.org> (raw)
In-Reply-To: <ab40e9c0809160711p4182d9e7n9b3ce965b3ce9f1f@mail.gmail.com>
On Tue, 16 Sep 2008 16:11:10 +0200
"Xu Yang" <risingsunxy@googlemail.com> wrote:
> Hi Bernd,
>
> thanks for you reply.
>
> yes, I know the thread migrates all the time, this is exactly what I
> would like to observe. I would like to learn about the thread
> migration of some specific scheduling algorithm. so ....
>
> any idea about the function?
the getcpu() system call will do what you want.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2008-09-16 14:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 12:50 looking for a function Xu Yang
2008-09-16 14:00 ` Bernd Petrovitsch
2008-09-16 14:11 ` Xu Yang
2008-09-16 14:18 ` Arjan van de Ven [this message]
2008-09-16 14:32 ` Xu Yang
2008-09-16 14:29 ` Frédéric Weisbecker
2008-09-16 14:33 ` Xu Yang
2008-09-16 19:04 ` Chris Snook
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=20080916071847.4a6ed31c@infradead.org \
--to=arjan@infradead.org \
--cc=bernd@firmix.at \
--cc=linux-kernel@vger.kernel.org \
--cc=risingsunxy@googlemail.com \
/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