commit | 552446a4166189a8c2515571dd6e25fd64a2dc78 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Fri Dec 01 13:25:14 2017 -0500 |
committer | Matthew Wilcox <willy@infradead.org> | Sun Oct 21 10:46:40 2018 -0400 |
tree | 63f5f81a3982064332da1d1d891ce2da2118a554 | |
parent | e21a29552fa3f44ea41c53488875015ae70fd7f8 [diff] |
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: Matthew Wilcox <willy@infradead.org>