As we have a hard dependency on libnuma we can simplify the code in cyclictest. This allows remove all the small helpers in rt_numa.h. And with this we can remove the header and reduce the confusion with rt-numa.h While at it, I simplified the --smp vs --affinity vs --threads logic. There is no need for additional variables to keep state. With this we also make --affinity to behave as with the rest of rt-tests. That is a plan -a will be the same as with -S. There is no need for -S anymore but I think we should leave it in place for backwards compatibility. I suspect, there must be a lot of muscle memory out there :) Daniel Wagner (6): cyclictest: Always use libnuma cyclictest: Use numa API directly cyclictest: Use affinity_mask for stearing thread placement cyclictest: Mimik --smp behavior with --affinity cyclictest: Simplify --smp vs --affinity vs --threads argument logic cyclictest: Move verbose message into main src/cyclictest/cyclictest.c | 154 ++++++++++++++---------------------- src/cyclictest/rt_numa.h | 98 ----------------------- 2 files changed, 58 insertions(+), 194 deletions(-) delete mode 100644 src/cyclictest/rt_numa.h -- 2.29.2