Skip to content
Snippets Groups Projects
Commit 552446a4 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

shmem: Convert shmem_add_to_page_cache to XArray


We can use xas_find_conflict() instead of radix_tree_gang_lookup_slot()
to find any conflicting entry and combine the three paths through this
function into one.

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent e21a2955
No related branches found
No related tags found
Loading
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