All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] FYI: CONFIG_PERF_EVENTS conflicts with Xenomai shadows
@ 2010-03-31 13:50 Jan Kiszka
  2010-03-31 16:53 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2010-03-31 13:50 UTC (permalink / raw)
  To: xenomai-core; +Cc: adeos-main

Hi,

just ran into an ugly warning of I-pipe as I happened to have
CONFIG_PERF_EVENTS enabled in 2.6.32 kernel. That pulls some plain Linux
spinlock into the finish_task_switch path.

We should either disable this feature at I-pipe level or patch it
properly. Haven't checked yet if the latter is feasible with moderate
effort, though.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

* Re: [Xenomai-core] FYI: CONFIG_PERF_EVENTS conflicts with Xenomai shadows
  2010-03-31 13:50 [Xenomai-core] FYI: CONFIG_PERF_EVENTS conflicts with Xenomai shadows Jan Kiszka
@ 2010-03-31 16:53 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2010-03-31 16:53 UTC (permalink / raw)
  To: xenomai-core; +Cc: adeos-main

Jan Kiszka wrote:
> Hi,
> 
> just ran into an ugly warning of I-pipe as I happened to have
> CONFIG_PERF_EVENTS enabled in 2.6.32 kernel. That pulls some plain Linux
> spinlock into the finish_task_switch path.
> 
> We should either disable this feature at I-pipe level or patch it
> properly. Haven't checked yet if the latter is feasible with moderate
> effort, though.
> 

At least this one is now explainable: There is no problem related to
CONFIG_PERF_EVENTS. finish_task_switch is not part of the critical
shadow task switch, and the oops I saw finally turned out to be caused
by my buggy virtual hardware (IOW: an unrelated hypervisor bug). Nothing
to worry about for Xenomai or I-pipe.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2010-03-31 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 13:50 [Xenomai-core] FYI: CONFIG_PERF_EVENTS conflicts with Xenomai shadows Jan Kiszka
2010-03-31 16:53 ` 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.