public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* binding a process to a processor
@ 2002-04-18  0:04 Lee Chin
  2002-04-18  0:10 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Chin @ 2002-04-18  0:04 UTC (permalink / raw)
  To: linux-kernel

Hi
How do I bind a user process to a processor?

Thanks
Lee

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: binding a process to a processor
  2002-04-18  0:04 binding a process to a processor Lee Chin
@ 2002-04-18  0:10 ` Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2002-04-18  0:10 UTC (permalink / raw)
  To: Lee Chin; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-18  0:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18  0:04 binding a process to a processor Lee Chin
2002-04-18  0:10 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox