[PATCH 0/3] tools: testing: Use existing atomic.h for vma/radix-tree tests
Brendan Jackman
jackmanb at google.com
Wed Aug 27 04:04:40 PDT 2025
De-duplicating this lets us delete a bit of code.
Ulterior motive: I'm working on a new set of the userspace-based unit
tests, which will need the atomics API too. That would involve even more
duplication, so while the win in this patchset alone is very minimal, it
looks a lot more significant with my other WIP patchset.
I've tested these commands:
make -C tools/testing/vma -j
tools/testing/vma/vma
make -C tools/testing/radix-tree -j
tools/testing/radix-tree/main
Note the EXTRA_CFLAGS patch is actually orthogonal, let me know if you'd
prefer I send it separately.
Signed-off-by: Brendan Jackman <jackmanb at google.com>
---
Brendan Jackman (3):
tools: testing: Allow importing arch headers in shared.mk
tools: testing: Use existing atomic.h for vma/radix-tree tests
tools: testing: Support EXTRA_CFLAGS in shared.mk
tools/testing/shared/linux/maple_tree.h | 6 ++----
tools/testing/shared/shared.mk | 6 +++++-
tools/testing/vma/linux/atomic.h | 17 -----------------
tools/testing/vma/vma_internal.h | 3 ++-
4 files changed, 9 insertions(+), 23 deletions(-)
---
base-commit: fab1beda7597fac1cecc01707d55eadb6bbe773c
change-id: 20250827-b4-vma-no-atomic-h-0f8ebc2fe4f9
Best regards,
--
Brendan Jackman <jackmanb at google.com>
More information about the maple-tree
mailing list