All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathias Koehrer" <mathias.koehrer@etas.com>
To: "linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Kernel thread's CPU affinity with isolcpus kernel boot argument
Date: Fri, 15 Jan 2016 12:15:28 +0100	[thread overview]
Message-ID: <5698D4D0.3020907@etas.com> (raw)

Hi all,

we use an Intel Core i7 machine (64bit) to use the cores > 0 for real 
time tasks.

For this the kernel boot parameter “isolcpus=1-31” is provided.
That works fine for all user space tasks.

However, I noticed that most kernel threads use the affinity mask 0xff.
I can change this by using “taskset”. However, I am wondering if there 
is mechanism that forces the kernel to consider the value of “isolcpus” 
also for kernel threads.

Kernel version in use is: 3.18.20-rt18.

Thanks for any feedback on this.

Best regards

Mathias


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2016-01-15 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 11:15 Mathias Koehrer [this message]
2016-02-25 14:18 ` Kernel thread's CPU affinity with isolcpus kernel boot argument Sebastian Andrzej Siewior
2016-02-25 14:43   ` Josh Cartwright
2016-02-26 10:53     ` Mathias Koehrer
2016-02-25 15:13   ` Daniel Bristot de Oliveira
2016-02-25 16:35     ` Sebastian Andrzej Siewior

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=5698D4D0.3020907@etas.com \
    --to=mathias.koehrer@etas.com \
    --cc=linux-rt-users@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.