Messages in this thread | | | Date | Sat, 26 Dec 2020 21:41:06 +0000 | From | Matthew Wilcox <> | Subject | Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting |
| |
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.
| |