rt-tests: cyclictest: Add option to specify main pid affinity
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 7 repliesIn review
- v32 patches 1 replySuperseded
- v22 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
- Rolled back the error wrapper changes around numa_sched_setaffinity. I still extracted the error handling code into a function, but since it's only used locally it looks a lot nicer.
- Rebased onto latest commit c9051a36 ("ssdd: Add JSON output feature") in unstable/devel/latest.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cyclictest: Move main pid setaffinity handling into a functionsrc/ | +12 | 2 replies | |
| 2/2 | cyclictest: Add --mainaffinity=[CPUSET] option.src/ | +18 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] rt-tests: cyclictest: Add option to specify main pid affinity
Hi John,
Changes in v4:
- Rolled back the error wrapper changes around numa_sched_setaffinity. I still extracted the error handling code into a function, but since it's only used locally it looks a lot nicer.
- Rebased onto latest commit c9051a36 ("ssdd: Add JSON output feature") in unstable/devel/latest.
This patch adds the option --mainaffinity to specify the affinity of
the main pid.
This is mainly useful if you want to bind the main thread to a
different (e.g. housekeeping ) CPU than the measurement threads.
Some of the potential benefits of using this option are presented in
a previous email: https://lore.kernel.org/linux-rt-users/[email protected]/
Jonathan Schwender (2):
cyclictest: Move main pid setaffinity handling into a function
cyclictest: Add --mainaffinity=[CPUSET] option.
src/cyclictest/cyclictest.c | 39 ++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-)
Signature · 1 line
2.31.1