]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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 19:19:09 +0000 (14:19 -0500)
commitb0649f138f6df539582e417f83236e751e138fec
treeea10adc6c6da1259e01d119dcd77a70466bbf915
parentd5226fa6dbae0569ee43ecfc08bdcd6770fc4755
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