[PATCH 00/18] Rework _SMP_Multicast_action()

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 20 07:33:26 UTC 2019


The goal of this patch set is to generalize the work done by
_SMP_Multicast_action() so that it can be used to replace the
SMP_MESSAGE_CLOCK_TICK and SMP_MESSAGE_TEST special cases.

Sebastian Huber (18):
  score: Use dedicated lock for per-CPU jobs
  smpmulticast01: Use T_TEST_CASE()
  smptests: Move SMP broadcast action test case
  score: Add _SMP_Broadcast_action()
  score: Add _SMP_Othercast_action()
  score: Simplify _SMP_Multicast_action()
  score: Remove SMP_MESSAGE_CLOCK_TICK
  score: Move per-processor job data structures
  score: Add _Per_CPU_Add_job()
  score: Modify _Per_CPU_Perform_jobs()
  smpipi01: Use per-CPU jobs for pending IPI test
  smpipi01: Ensure IPI works on all processors
  smpipi01: Use per-CPU jobs for IPI flood test
  score: Remove unused SMP_MESSAGE_TEST
  score: Add _SMP_Synchronize()
  score: Remove superfluous include
  score: Add _Per_CPU_Wait_for_job()
  score: Add _SMP_Unicast_action()

 bsps/arm/shared/clock/clock-a9mpcore.c             |  12 +-
 bsps/arm/shared/clock/clock-generic-timer.c        |  12 +-
 bsps/i386/pc386/clock/ckinit.c                     |  10 +-
 bsps/i386/pc386/start/smp-imps.c                   |  11 +-
 bsps/shared/cache/cacheimpl.h                      |  25 +-
 cpukit/Makefile.am                                 |   1 +
 cpukit/include/rtems/score/percpu.h                |  88 +++++-
 cpukit/include/rtems/score/smpimpl.h               | 107 ++++---
 cpukit/score/src/smp.c                             |   2 -
 cpukit/score/src/smpmulticastaction.c              | 256 +++++++---------
 cpukit/score/src/smpunicastaction.c                |  51 ++++
 testsuites/smptests/smpcache01/init.c              |  41 +--
 testsuites/smptests/smpipi01/init.c                | 121 ++++++--
 testsuites/smptests/smpmulticast01/init.c          | 337 ++++++++++++++++++---
 .../smptests/smpmulticast01/smpmulticast01.scn     |  99 +++---
 15 files changed, 807 insertions(+), 366 deletions(-)
 create mode 100644 cpukit/score/src/smpunicastaction.c

-- 
2.16.4



More information about the devel mailing list