Skip to content

Teach signaltest affinity

Daniel Wagner linux-rt-users 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rt-numa: Move thread placement code to rt-numa librarysrc/cyclictest/cyclictest.c src/include/rt-numa.h src/lib/rt-numa.c+98 -901 reply
2/3signaltest: Implement thread placingMakefile src/signaltest/signaltest.8 src/signaltest/signaltest.c+133 -91 reply
3/3signaltest: Set affintiy on defaultsrc/include/rt-numa.h src/lib/rt-numa.c src/signaltest/signaltest.c+24 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [rt-tests v1 0/3] Teach signaltest affinity

This series relies on the "Move common code to helper libraries" series [1]. After the recent debugging session I think it would be a good thing to change the default behavior of signaltest and set the affinity on default.

One thing I also was tempted to change is the default priority to let's say 98, so that the default settings are useful. It's so easy to forget to set something and get bad numbers. Obviously, if we agree on this, we should go over all the tests and try to come of usable defaults.

Thanks,
Daniel

[1] https://lore.kernel.org/linux-rt-users/[email protected]/

Daniel Wagner (3):
rt-numa: Move thread placement code to rt-numa library
signaltest: Implement thread placing
signaltest: Set affintiy on default

 Makefile                    |   4 +-
 src/cyclictest/cyclictest.c |  98 +++----------------------------
 src/include/rt-numa.h       |  13 ++++
 src/lib/rt-numa.c           | 100 +++++++++++++++++++++++++++++++
 src/signaltest/signaltest.8 |  22 ++++++-
 src/signaltest/signaltest.c | 114 ++++++++++++++++++++++++++++++++++--
 6 files changed, 252 insertions(+), 99 deletions(-)
Signature · 1 line
2.29.2