FYI: CONFIG_PERF_EVENTS conflicts with Xenomai shadows
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
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 10 lines · Jan Kiszka
Hi,
just ran into an ugly warning of I-pipe as I happened to have
CONFIG_PERF_EVENTSenabled in 2.6.32 kernel. That pulls some plain Linux spinlock into thefinish_task_switchpath.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
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux