All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] kernel threads crash - possible race condition?
@ 2011-04-14 13:04 Jesper Christensen
  2011-04-14 13:31 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Christensen @ 2011-04-14 13:04 UTC (permalink / raw)
  To: xenomai@xenomai.org


I wrote about some problems concerning stack corruption when running
xenomai on ppc. I have found out that if i disable hardware interrupts
while running "rthal_thread_switch" the problem seems to dissapear
somewhat. I saw a crash yesterday after running for 3 hours, and i'm
currently running a test (has been running for 3 hours). Usually it
would fail after 30-40 minutes. My question is: could there be a problem
if we receive an interrupt between updating the stack pointer and the
sprg3 register with the new thread pointer?

/Jesper




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

end of thread, other threads:[~2011-04-14 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 13:04 [Xenomai-core] kernel threads crash - possible race condition? Jesper Christensen
2011-04-14 13:31 ` Philippe Gerum
2011-04-14 13:46   ` Jesper Christensen
2011-04-14 14:09     ` Philippe Gerum
2011-04-14 14:16       ` Jesper Christensen

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.