[PATCH v2 0/4] radix tree test framework additions

From: Liam Howlett
Date: Thu Jun 03 2021 - 14:48:10 EST


Increase the functionality to the radix tree test framework for use by
the lib/test_maple_tree.c

These patches were first presented as part of the maple tree patch set.
Changes since the maple tree patch set:
- Both bulk APIs are now in the same patch
- Relocated nr_tallocated from maple tree patch

Changes from v1:
- Dropped two unnecessary patches - Thanks Matthew Wilcox
- Separate pr_err and kmem_cache_set_non_kernel() into their own
patches as suggested by Suren Baghdasaryan
- Change allocation counts to be per struct kmem_cache - Thanks Suren
Baghdasaryan
- Fix slab bulk API issue when not aligned - Thanks Suren Baghdasaryan
- Added a test for the bulk API

Liam R. Howlett (4):
radix tree test suite: Add pr_err define
radix tree test suite: Add kmem_cache_set_non_kernel()
radix tree test suite: Add allocation counts and size to kmem_cache
radix tree test suite: Add support for slab bulk APIs

tools/testing/radix-tree/linux.c | 160 +++++++++++++++++++++++-
tools/testing/radix-tree/linux/kernel.h | 1 +
tools/testing/radix-tree/linux/slab.h | 4 +
3 files changed, 161 insertions(+), 4 deletions(-)

--
2.30.2