Skip to content
Commit 7b8d046f authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <willy@infradead.org>
parent 552446a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment