[rt-tests v1 0/6] Move common code to helper libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20201007085653.11961-1-dwagner@xxxxxxx/

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

-- 
2.29.2




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux