Skip to content

Move common code to helper libraries

Daniel Wagner linux-rt-users 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rt-utils: Introduce parse_mem_string()src/include/rt-utils.h src/lib/rt-utils.c+31 -01 reply
2/6oslat: Use string parser utiliessrc/oslat/oslat.c+2 -651 reply
3/6cyclictest: Remove deadcode checking for NUMAsrc/cyclictest/cyclictest.c+0 -51 reply
4/6rt-numa: Introduce NUMA helpersMakefile src/include/rt-numa.h src/lib/rt-numa.c+74 -92 replies
5/6cyclictest: Use parse_cpumask() from rt-numa.hsrc/cyclictest/cyclictest.c+14 -562 replies
6/6oslat: Use parse_cpumask() from rt-numa.hsrc/oslat/oslat.c+17 -383 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/6] Move common code to helper libraries

Hi,

These patches are left over from the last cleanup series[1]. The first two move the parse_mem_string() to rt-utils.h. The rest move the NUMA bits into a new helper library and udpate the existing code to use the new helpers.

Thanks,
Daniel

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

Daniel Wagner (6):
rt-utils: Introduce parse_mem_string()
oslat: Use string parser utilies
cyclictest: Remove deadcode checking for NUMA
rt-numa: Introduce NUMA helpers
cyclictest: Use parse_cpumask() from rt-numa.h
oslat: Use parse_cpumask() from rt-numa.h

 Makefile                    |  18 +++---
 src/cyclictest/cyclictest.c |  75 +++++-----------------
 src/include/rt-numa.h       |   9 +++
 src/include/rt-utils.h      |   1 +
 src/lib/rt-numa.c           |  56 +++++++++++++++++
 src/lib/rt-utils.c          |  30 +++++++++
 src/oslat/oslat.c           | 122 ++++++------------------------------
 7 files changed, 138 insertions(+), 173 deletions(-)
 create mode 100644 src/include/rt-numa.h
 create mode 100644 src/lib/rt-numa.c
Signature · 1 line
2.29.2