[PATCH 2/2] smp: Provide cache optimized Per_CPU_Control

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jul 30 18:59:15 UTC 2013


On 2013-07-30 18:19, Joel Sherrill wrote:
> Why not just use the compiler attribute for alignment? 

This makes it more difficult to determine the size of the structure.  I 
simply used 8 bytes times the structure field count and aligned up to 
the next power of two.

-- 
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