All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Fokkens <fokkensr@linux06.vertis.nl>
To: linux-kernel@vger.kernel.org
Subject: cpus_allowed
Date: Sat, 13 Oct 2001 16:59:40 -0700	[thread overview]
Message-ID: <01101316594000.02369@home01> (raw)

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

             reply	other threads:[~2001-10-13 16:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-13 23:59 Rolf Fokkens [this message]
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

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=01101316594000.02369@home01 \
    --to=fokkensr@linux06.vertis.nl \
    --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 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.