shmem: Convert shmem_alloc_hugepage to XArray
authorMatthew Wilcox <willy@infradead.org>
Sat, 2 Dec 2017 03:13:06 +0000 (22:13 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:40 +0000 (10:46 -0400)
commit7b8d046fba91d62beb8a8f78244aaa3c23a60cdd
tree78f7d338690a358a6b67f5e153506feda90eb8bd
parent552446a4166189a8c2515571dd6e25fd64a2dc78
shmem: Convert shmem_alloc_hugepage to XArray

xa_find() is a slightly easier API to use than
radix_tree_gang_lookup_slot() because it contains its own RCU locking.
This commit removes the last user of radix_tree_gang_lookup_slot()
so remove the function too.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/radix-tree.h
lib/radix-tree.c
mm/shmem.c