All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [BUG] posix skin thread doesn't respect /proc/xenomai/affinity
@ 2007-10-01 19:35 Jan Kiszka
  2007-10-01 19:51 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2007-10-01 19:35 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

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

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.

Jan


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [BUG] posix skin thread doesn't respect /proc/xenomai/affinity
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2007-10-01 19:51 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

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 ?

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [BUG] posix skin thread doesn't respect /proc/xenomai/affinity
  2007-10-01 19:51 ` Gilles Chanteperdrix
@ 2007-10-01 20:55   ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2007-10-01 20:55 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-01 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.