diff options
| author | Matthew Wilcox <[email protected]> | 2018-05-17 04:08:30 +0000 |
|---|---|---|
| committer | Matthew Wilcox <[email protected]> | 2018-10-21 14:46:35 +0000 |
| commit | 070e807c690bf9a648d4a878f3c68ea9f5f5ce14 (patch) | |
| tree | 8619c4d10c81696f4f293145a933284215b1577d /tools/testing/radix-tree/regression1.c | |
| parent | page cache: Convert find_get_entries_tag to XArray (diff) | |
| download | kernel-070e807c690bf9a648d4a878f3c68ea9f5f5ce14.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/regression1.c')
0 files changed, 0 insertions, 0 deletions
