diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-05-17 00:08:30 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:35 -0400 |
commit | 070e807c690bf9a648d4a878f3c68ea9f5f5ce14 (patch) | |
tree | 8619c4d10c81696f4f293145a933284215b1577d /tools/testing/radix-tree/regression1.c | |
parent | c1901cd33cf407d77a181f8dd4ffff98041ef480 (diff) | |
download | linux-070e807c690bf9a648d4a878f3c68ea9f5f5ce14.tar.bz2 |
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 'tools/testing/radix-tree/regression1.c')
0 files changed, 0 insertions, 0 deletions