mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
page cache: Convert filemap_range_has_page to XArray
Instead of calling find_get_pages_range() and putting any reference, use xas_find() to iterate over any entries in the range, skipping the shadow/swap entries. Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
parent
22ecdb4f8b
commit
8fa8e538e4
1 changed files with 19 additions and 8 deletions
27
mm/filemap.c
27
mm/filemap.c
Loading…
Add table
Add a link
Reference in a new issue