]> www.infradead.org Git - users/jedix/linux-maple.git/commit
radix tree test suite: Add allocation counts and size to kmem_cache
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 1 Jun 2021 14:35:43 +0000 (10:35 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 27 Sep 2021 14:20:14 +0000 (10:20 -0400)
commit99209949ac9c8c1fc1e130284bee2faf5ea5385f
treebc01bc80af0776250d2cf053f32b8551c0de6763
parent3d52c796249e8cb57c6db800a3ad1bc32b139e3e
radix tree test suite: Add allocation counts and size to kmem_cache

Add functions to get the number of allocations, and total allocations
from a kmem_cache.  Also add a function to get the allocated size and a
way to zero the total allocations.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
tools/testing/radix-tree/linux.c