[PATCH 0/3] tools: testing: Use existing atomic.h for vma/radix-tree tests
Lorenzo Stoakes
lorenzo.stoakes at oracle.com
Thu Aug 28 03:28:14 PDT 2025
On Wed, Aug 27, 2025 at 11:04:40AM +0000, Brendan Jackman wrote:
> De-duplicating this lets us delete a bit of code.
Thanks very much! This is nice stuff.
>
> 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 hope that my + Liam's work helped inspire you :)
>
> 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.
It's fine!
Cheers, Lorenzo
More information about the maple-tree
mailing list