tools/testing: Add support for changes to slab for sheaves
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 3 Sep 2025 12:59:53 +0000 (14:59 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 29 Sep 2025 07:22:44 +0000 (09:22 +0200)
commitc4fb7f0a79771dfd18838bfc5015650a9730e9c0
tree59d072cbbecc104b56d4aea13d22ceed5456f5b4
parentd09a61a3aa7de53fe055743993d79eaeb945cbad
tools/testing: Add support for changes to slab for sheaves

The slab changes for sheaves requires more effort in the testing code.
Unite all the kmem_cache work into the tools/include slab header for
both the vma and maple tree testing.

The vma test code also requires importing more #defines to allow for
seamless use of the shared kmem_cache code.

This adds the pthread header to the slab header in the tools directory
to allow for the pthread_mutex in linux.c.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
tools/include/linux/slab.h
tools/testing/shared/linux.c
tools/testing/shared/maple-shim.c
tools/testing/vma/vma_internal.h