From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jeff Weber <jwamsc@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Fwd: isolate realtime and Linux by CPU on SMP system
Date: Tue, 21 Sep 2010 16:44:47 +0200 [thread overview]
Message-ID: <4C98C4DF.6070904@domain.hid> (raw)
In-Reply-To: <AANLkTinhmyo1AFvPzHXZ12ochSOpMHLj9qwEfQ8GCc5L@mail.gmail.com>
Jeff Weber wrote:
> What is the best method for segregating Xenomai and Linux by CPU? I was
> unable to do this cleanly using /proc/xenomai/affinity for Xenomai,
> together with the Linux isolcpus boot option. Details below.
I have no definite answer, I have not checked. What I suspect, however,
is that when you try and force an affinity for a Xenomai thread, it
tries and apply this affinity in secondary mode, i.e. as a plain Linux
thread. So, will fail if the target thread is not in the "isolcpus"
mask. In other words, a Xenomai thread can not run on a CPU where Linux
threads can not run.
--
Gilles.
next prev parent reply other threads:[~2010-09-21 14:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-15 21:40 [Xenomai-help] isolate realtime and Linux by CPU on SMP system Jeff Weber
2010-09-21 13:52 ` [Xenomai-help] Fwd: " Jeff Weber
2010-09-21 14:44 ` Gilles Chanteperdrix [this message]
2010-09-21 16:08 ` Jeff Weber
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=4C98C4DF.6070904@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jwamsc@domain.hid \
--cc=xenomai@xenomai.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.