lkml.org 
[lkml]   [2001]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectcpus_allowed
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.049 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site