[PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting

Matthew Wilcox willy at infradead.org
Sat Dec 26 16:41:06 EST 2020


On Sat, Dec 26, 2020 at 11:43:35PM +0300, Kirill A. Shutemov wrote:
> +static struct page *next_stable_page(struct page *page, struct vm_fault *vmf,
> +				     struct xa_state *xas, pgoff_t end_pgoff)

A "stable page" means one that doesn't currently have an outstanding
write (see wait_for_stable_page()).  It's really "Next trivially
insertable page".  I might call it "next_uptodate_page()" and gloss
over the other reasons this might fail to return a page.




More information about the linux-arm-kernel mailing list