Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment