From: Robert Love <rml@tech9.net>
To: Lee Chin <leechinus@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: binding a process to a processor
Date: 17 Apr 2002 20:10:22 -0400 [thread overview]
Message-ID: <1019088622.5409.18.camel@phantasy> (raw)
In-Reply-To: <20020418000449.64275.qmail@web14305.mail.yahoo.com>
On Wed, 2002-04-17 at 20:04, Lee Chin wrote:
> How do I bind a user process to a processor?
In 2.5, there is the system call sched_setaffinity. It is rather new so
your libraries do not support it - see example code and headers at:
ftp://ftp.kernel.org/pub/linux/kernel/people/rml/cpu-affinity
For 2.4, there is not yet such an interface. At the above URL, you can
find a proc-based and a syscall-based interface for setting and
retrieving affinity.
Robert Love
prev parent reply other threads:[~2002-04-18 0:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-18 0:04 binding a process to a processor Lee Chin
2002-04-18 0:10 ` Robert Love [this message]
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=1019088622.5409.18.camel@phantasy \
--to=rml@tech9.net \
--cc=leechinus@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/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