All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [BUG] posix skin thread doesn't respect	/proc/xenomai/affinity
Date: Mon, 01 Oct 2007 22:55:59 +0200	[thread overview]
Message-ID: <47015EDF.9010402@domain.hid> (raw)
In-Reply-To: <18177.20421.874002.472501@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>  > Hi Gilles,
>  > 
>  > almost forgot to report this, didn't find time to dig into it. You can
>  > easily check this with cyclictest: affinity mask set to 2, the test will
>  > still schedule on CPU0.
> 
> Ok, what is needed at skin level to get it to work ?

If the user doesn't care about affinity explicitly, the skin should have
set the current task's affinity to XNPOD_ALL_CPUS on xnshadow_map (same
for xnpod_start_thread):

http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/nucleus/shadow.c?v=SVN-trunk#1350

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

      reply	other threads:[~2007-10-01 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 19:35 [Xenomai-core] [BUG] posix skin thread doesn't respect /proc/xenomai/affinity Jan Kiszka
2007-10-01 19:51 ` Gilles Chanteperdrix
2007-10-01 20:55   ` Jan Kiszka [this message]

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=47015EDF.9010402@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.