numa: add unit testing plus fix regression
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 8 repliesIn review
- v15 patches 15 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools/bitops: adjust bitmap_or() interface to match hypervisortools/ tools/ | +6 | 0 replies | |
| 2/5 | tools/macros: adjust ROUNDUP() interface to match hypervisortools/ tools/ tools/ +19 more | +45 | 2 replies | |
| 3/5 | xen/numa: prepare NUMA setup code for unit testingxen/ | +9 | 0 replies | |
| 4/5 | tests/numa: add unit tests for NUMA setup logictools/ tools/ tools/ +2 more | +456 | 5 replies | |
| 5/5 | xen/numa: fix setup of non-aligned memory affinity rangestools/ tools/ xen/ | +52 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Anthony PERARD | Jan Beulich |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | R-b | |
| 3/5 | A-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-4.22 v2 0/5] numa: add unit testing plus fix regression
Hello,
The first 4 patches add some basic unit testing for the NUMA setup logic. The last patch expands the test cases and fixes an issue the new test-cases would otherwise trigger.
Only patch 4 is missing an Ack or Reviewed by.
Thanks, Roger.
Roger Pau Monne (5):
tools/bitops: adjust bitmap_or() interface to match hypervisor tools/macros: adjust ROUNDUP() interface to match hypervisor xen/numa: prepare NUMA setup code for unit testing tests/numa: add unit tests for NUMA setup logic xen/numa: fix setup of non-aligned memory affinity ranges
tools/console/daemon/io.c | 2 +- tools/include/xen-tools/bitops.h | 7 +- tools/include/xen-tools/common-macros.h | 5 +- tools/libs/call/buffer.c | 3 +- tools/libs/foreignmemory/linux.c | 2 +- tools/libs/gnttab/freebsd.c | 2 +- tools/libs/gnttab/linux.c | 2 +- tools/libs/guest/xg_core.c | 2 +- tools/libs/guest/xg_dom_arm.c | 6 +- tools/libs/guest/xg_dom_x86.c | 2 +- tools/libs/guest/xg_private.h | 4 +- tools/libs/guest/xg_sr_common.c | 6 +- tools/libs/guest/xg_sr_save.c | 3 +- tools/libs/guest/xg_sr_stream_format.h | 2 +- tools/libs/light/libxl_arm_acpi.c | 24 +- tools/libs/light/libxl_create.c | 2 +- tools/libs/light/libxl_sr_stream_format.h | 2 +- tools/libs/light/libxl_stream_read.c | 2 +- tools/libs/light/libxl_stream_write.c | 4 +- tools/misc/xen-mfndump.c | 2 +- tools/ocaml/libs/xc/xenctrl_stubs.c | 2 +- tools/tests/Makefile | 1 + tools/tests/numa/.gitignore | 2 + tools/tests/numa/Makefile | 47 ++++ tools/tests/numa/harness.h | 184 +++++++++++++++ tools/tests/numa/test-numa.c | 267 ++++++++++++++++++++++ tools/xenstored/core.c | 4 +- tools/xenstored/domain.c | 9 +- tools/xenstored/watch.c | 2 +- xen/common/numa.c | 20 +- 30 files changed, 568 insertions(+), 54 deletions(-) create mode 100644 tools/tests/numa/.gitignore create mode 100644 tools/tests/numa/Makefile create mode 100644 tools/tests/numa/harness.h create mode 100644 tools/tests/numa/test-numa.c
Signature · 1 line
2.53.0