On Wed, Dec 13, 2017 at 05:43:39PM +0300, Kirill A. Shutemov wrote: > > am I perchance looking at the wrong tee? > > I'm looking at Linus' tree.
Clearly I'm not synced up enough... :/ > It was changed recently: > 5c9d2d5c269c ("mm: replace pte_write with pte_access_permitted in fault > + gup paths") > Indeed. So FOLL_GET should also get these tests and, as you said, the other levels too. I would like FOLL_POPULATE (doesn't have FOLL_GET) to be allowed 'access'.