All of lore.kernel.org
 help / color / mirror / Atom feed
* cpus_allowed
@ 2001-10-13 23:59 Rolf Fokkens
  2001-10-13 16:22 ` cpus_allowed Robert Love
  2001-10-13 16:23 ` cpus_allowed Dave Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Rolf Fokkens @ 2001-10-13 23:59 UTC (permalink / raw)
  To: linux-kernel

Hi!

I was curious about "CPU affinity" in linux. I found some patches which add 
affinity in task_struct but later I found out that "cpus_allowed" in 
task_struct almost does the same thing.

It resulted in some new curiosity: where's cpus_allowed initialized? I can 
only find an assignment to cpus_allowed for softirq's but no initialization 
for other processes. I assume the correct init value would be "0xffffffff" or 
-1. Can't find it though.

I'm sure I'm overlooking something, but that doesn't help me finding the 
answer. So would someone be so kind to enlighten me?

Thanks,

Rolf

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

end of thread, other threads:[~2001-10-13 16:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-13 23:59 cpus_allowed Rolf Fokkens
2001-10-13 16:22 ` cpus_allowed Robert Love
2001-10-13 16:14   ` cpus_allowed Tim Hockin
2001-10-14  0:37   ` cpus_allowed Rolf Fokkens
2001-10-13 16:23 ` cpus_allowed Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.