]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: separate out shared radix-tree components
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Mon, 29 Jul 2024 11:50:40 +0000 (12:50 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:52:41 +0000 (17:52 -0700)
commit477287cb73adc4025a984416d32920d53eaf041a
tree03883f1d311646b8c961c41cdfb69d0f8affd094
parent37f20750804d0ea0a07c5678d74afb6252ff224f
tools: separate out shared radix-tree components

The core components contained within the radix-tree tests which provide
shims for kernel headers and access to the maple tree are useful for
testing other things, so separate them out and make the radix tree tests
dependent on the shared components.

This lays the groundwork for us to add VMA tests of the newly introduced
vma.c file.

Link: https://lkml.kernel.org/r/1ee720c265808168e0d75608e687607d77c36719.1722251717.git.lorenzo.stoakes@oracle.com
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Gow <davidgow@google.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Kees Cook <kees@kernel.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Rae Moar <rmoar@google.com>
Cc: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Pengfei Xu <pengfei.xu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
27 files changed:
tools/testing/radix-tree/.gitignore
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/xarray.c
tools/testing/shared/autoconf.h [moved from tools/testing/radix-tree/generated/autoconf.h with 100% similarity]
tools/testing/shared/linux.c [moved from tools/testing/radix-tree/linux.c with 100% similarity]
tools/testing/shared/linux/bug.h [moved from tools/testing/radix-tree/linux/bug.h with 100% similarity]
tools/testing/shared/linux/cpu.h [moved from tools/testing/radix-tree/linux/cpu.h with 100% similarity]
tools/testing/shared/linux/idr.h [moved from tools/testing/radix-tree/linux/idr.h with 100% similarity]
tools/testing/shared/linux/init.h [moved from tools/testing/radix-tree/linux/init.h with 100% similarity]
tools/testing/shared/linux/kconfig.h [moved from tools/testing/radix-tree/linux/kconfig.h with 100% similarity]
tools/testing/shared/linux/kernel.h [moved from tools/testing/radix-tree/linux/kernel.h with 100% similarity]
tools/testing/shared/linux/kmemleak.h [moved from tools/testing/radix-tree/linux/kmemleak.h with 100% similarity]
tools/testing/shared/linux/local_lock.h [moved from tools/testing/radix-tree/linux/local_lock.h with 100% similarity]
tools/testing/shared/linux/lockdep.h [moved from tools/testing/radix-tree/linux/lockdep.h with 100% similarity]
tools/testing/shared/linux/maple_tree.h [moved from tools/testing/radix-tree/linux/maple_tree.h with 100% similarity]
tools/testing/shared/linux/percpu.h [moved from tools/testing/radix-tree/linux/percpu.h with 100% similarity]
tools/testing/shared/linux/preempt.h [moved from tools/testing/radix-tree/linux/preempt.h with 100% similarity]
tools/testing/shared/linux/radix-tree.h [moved from tools/testing/radix-tree/linux/radix-tree.h with 100% similarity]
tools/testing/shared/linux/rcupdate.h [moved from tools/testing/radix-tree/linux/rcupdate.h with 100% similarity]
tools/testing/shared/linux/xarray.h [moved from tools/testing/radix-tree/linux/xarray.h with 100% similarity]
tools/testing/shared/maple-shared.h [new file with mode: 0644]
tools/testing/shared/maple-shim.c [new file with mode: 0644]
tools/testing/shared/shared.h [new file with mode: 0644]
tools/testing/shared/shared.mk [new file with mode: 0644]
tools/testing/shared/trace/events/maple_tree.h [moved from tools/testing/radix-tree/trace/events/maple_tree.h with 100% similarity]
tools/testing/shared/xarray-shared.c [new file with mode: 0644]
tools/testing/shared/xarray-shared.h [new file with mode: 0644]