]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0a4491f5840355231ed6931db09ff6d89ba6948
tree615c10e662faa49f3910fb269d4be6d029513632
parented48cc0962c3341ca003bb34a4f22b9034f4c35c
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