FYI: Short term SMP fixes

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 18 08:15:10 UTC 2013


Hello,

I will produce quite a lot of patches in the next couple of days.  They contain 
mostly mechanical changes.

I intend to move all definitions not relevant for the application visible API 
to *impl.h files.  This greatly reduces the dependencies of source files.  It 
will also address some cyclic dependencies that are currently hidden due to the 
usage of macros.

The main goal is to address the following problem.  If you use 
_SMP_Get_current_processor() as an index to the per CPU information, then 
thread dispatching must be disabled, since otherwise the value may be wrong 
after a thread migration.

I plan to add some sort of RTEMS assertions that can be controlled with 
RTEMS_DEBUG instead of NDEBUG.  This is very helpful to find bugs like the above.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list