]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - lib/test_xarray.c
shmem: Convert find_swap_entry to XArray
authorMatthew Wilcox <willy@infradead.org>
Wed, 22 Nov 2017 13:36:00 +0000 (08:36 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:39 +0000 (10:46 -0400)
commite21a29552fa3f44ea41c53488875015ae70fd7f8
tree615c10e662faa49f3910fb269d4be6d029513632
parenta12831bf4293d38518e41b80dd897af0122bb268
shmem: Convert find_swap_entry to XArray

This is a 1:1 conversion.  The major part of this patch is converting
the test framework from userspace to kernel space and mirroring the
algorithm now used in find_swap_entry().

Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_xarray.c
mm/shmem.c
tools/testing/radix-tree/main.c
tools/testing/radix-tree/test.c
tools/testing/radix-tree/test.h