Changeset 9e4f21b9 in rtems


Ignore:
Timestamp:
Feb 1, 2020, 2:42:27 PM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
1cb9257
Parents:
b4387313
git-author:
Sebastian Huber <sebastian.huber@…> (02/01/20 14:42:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/01/20 14:44:19)
Message:

score: Optimize per-processor data placement

Only align per-processor data in SMP configurations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/wkspace.c

    rb4387313 r9e4f21b9  
    3838RTEMS_LINKER_RWSET(
    3939  _Per_CPU_Data,
    40   RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES ) char
     40#if defined(RTEMS_SMP)
     41  /*
     42   * In SMP configurations, prevent false cache line sharing of per-processor
     43   * data with a proper alignment.
     44   */
     45  RTEMS_ALIGNED( CPU_CACHE_LINE_BYTES )
     46#endif
     47  char
    4148);
    4249
Note: See TracChangeset for help on using the changeset viewer.