diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 15:16:40 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-12 09:44:48 +0200 |
commit | e90486ab41a4edf045a6153675b6be9dcd422b71 (patch) | |
tree | ea0ad25fd9d9324ca02f9a26556d6cc5e2e9a592 /cpukit/score/src/smp.c | |
parent | score: Use processor mask in _SMP_Multicast_action (diff) | |
download | rtems-e90486ab41a4edf045a6153675b6be9dcd422b71.tar.bz2 |
score: Rework SMP multicast action
Use a FIFO list of jobs per processor to carry out the SMP multicast
action. Use a done indicator per job to reduce the bus traffic a bit.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 873682962d..027c2e81d8 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -118,6 +118,7 @@ void _SMP_Handler_initialize( void ) cpu = _Per_CPU_Get_by_index( cpu_index ); _ISR_lock_Set_name( &cpu->Lock, "Per-CPU" ); + _ISR_lock_Set_name( &cpu->Jobs.Lock, "Per-CPU Jobs" ); _ISR_lock_Set_name( &cpu->Watchdog.Lock, "Per-CPU Watchdog" ); _Chain_Initialize_empty( &cpu->Threads_in_need_for_help ); } |