radix tree test suite: Support kmem_cache alignment
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 17:25:47 +0000 (12:25 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 17:25:47 +0000 (12:25 -0500)
commit34eee836a9dd3e1987c10ed6afc7ece4131a993d
tree489929e5a459c71aa5843d915c55d06382e583f3
parentd8e93e3f22d9fd2e6a3ccae3623c3af8789ccfc0
radix tree test suite: Support kmem_cache alignment

The radix tree doesn't use alignment, so the argument was ignored.
The maple tree needs its nodes to be aligned, so we need to pay attention
to the alignment argument.  Also change the types of 'size' and 'align'
to unsigned int to match commit f4957d5bd0916.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
tools/testing/radix-tree/linux.c
tools/testing/radix-tree/linux/slab.h