[Bug 1814] SMP race condition between stack free and dispatch
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Fri Aug 10 08:36:51 UTC 2012
https://www.rtems.org/bugzilla/show_bug.cgi?id=1814
--- Comment #9 from Marta Rybczynska <marta.rybczynska at kalray.eu> 2012-08-10 03:36:51 CDT ---
We do not have a document that describes the lock sequences. However, the one
that causes big problems is the lock around the object allocator (Object_Get &
friends). It should be probably split into per-type lock, but that would change
the API in an important way.
We have tried per-core _Thread_Dispatch_disable. If I remember correctly, the
problem was that in some cases the 'interrupts' are disabled in some Object_Get
function and release under some conditions in another. That causes important
state problems in SMP as multiple tasks may be passing by thread-related
functions at the same time.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list