aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-05-17 00:08:30 -0400
committerMatthew Wilcox <willy@infradead.org>2018-10-21 10:46:35 -0400
commit070e807c690bf9a648d4a878f3c68ea9f5f5ce14 (patch)
tree8619c4d10c81696f4f293145a933284215b1577d /tools
parentpage cache: Convert find_get_entries_tag to XArray (diff)
downloadlinux-dev-070e807c690bf9a648d4a878f3c68ea9f5f5ce14.tar.xz
linux-dev-070e807c690bf9a648d4a878f3c68ea9f5f5ce14.zip
page cache: Convert filemap_map_pages to XArray
Slight change of strategy here; if we have trouble getting hold of a page for whatever reason (eg a compound page is split underneath us), don't spin to stabilise the page, just continue the iteration, like we would if we failed to trylock the page. Since this is a speculative optimisation, it feels like we should allow the process to take an extra fault if it turns out to need this page instead of spending time to pin down a page it may not need. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions