]> git.baikalelectronics.ru Git - kernel.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 17:25:47 +0000 (12:25 -0500)
commit8c8d9cbc53437c9cf8e9421c18b8cd5cd7973827
tree489929e5a459c71aa5843d915c55d06382e583f3
parentfc167a7b727ab85e3f2b0cedfc42f9c1f7d890c8
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 3482d293d7688.

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