Skip to content
Commit 070e807c authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <willy@infradead.org>
parent c1901cd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment