On Fri, Apr 13, 2018 at 09:31:37PM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> > > I was trying to understand how it was safe to test PageLocked on a tail > page and started looking at how the pageflag policies were implemented. > I found three actual bugs (patches 5, 7 & 8), improved the documentation > and renamed a pile of things to be more readily explainable. That's a great cleanup. Thanks for dealing with the mess I've created ;) It would be nice to see overal effect on code size and *some* performance numbers. That's rather hot code path. -- Kirill A. Shutemov