score: Optimize per-processor data placement

Only align per-processor data in SMP configurations.
This commit is contained in:
Sebastian Huber
2020-02-01 15:44:19 +01:00
parent b4387313f7
commit 9e4f21b927
+8 -1
View File
@@ -37,7 +37,14 @@
RTEMS_LINKER_RWSET(
_Per_CPU_Data,
RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES ) char
#if defined(RTEMS_SMP)
/*
* In SMP configurations, prevent false cache line sharing of per-processor
* data with a proper alignment.
*/
RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES )
#endif
char
);
Heap_Control _Workspace_Area;