[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250827-b4-vma-no-atomic-h-v1-0-5d3a94ae670f@google.com>
Date: Wed, 27 Aug 2025 11:04:40 +0000
From: Brendan Jackman <jackmanb@...gle.com>
To: "Liam R. Howlett" <Liam.Howlett@...cle.com>, Andrew Morton <akpm@...ux-foundation.org>,
Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, Vlastimil Babka <vbabka@...e.cz>,
Jann Horn <jannh@...gle.com>, Pedro Falcato <pfalcato@...e.de>
Cc: linux-kernel@...r.kernel.org, maple-tree@...ts.infradead.org,
linux-mm@...ck.org, Brendan Jackman <jackmanb@...gle.com>
Subject: [PATCH 0/3] tools: testing: Use existing atomic.h for vma/radix-tree tests
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@...gle.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@...gle.com>
Powered by blists - more mailing lists