mbox series

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

Message ID 20210603184729.3893455-1-Liam.Howlett@Oracle.com (mailing list archive)
Headers show
Series radix tree test framework additions | expand

Message

Liam Howlett June 3, 2021, 6:47 p.m. UTC
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(-)