On Mon, May 25, 2020 at 11:40:01PM -0700, John Hubbard wrote: > On 2020-05-22 05:52, Kirill A. Shutemov wrote: > ... > > @@ -2773,6 +2780,7 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address, > > #define FOLL_LONGTERM 0x10000 /* mapping lifetime is indefinite: see below */ > > #define FOLL_SPLIT_PMD 0x20000 /* split huge pmd before returning */ > > #define FOLL_PIN 0x40000 /* pages must be released via unpin_user_page */ > > +#define FOLL_KVM 0x80000 /* access to VM_KVM_PROTECTED VMAs */ > > I grabbed 0x80000 already, for FOLL_FAST_ONLY. :) Let's see who getting upstream first :P (Spoiler: you) -- Kirill A. Shutemov