Messages in this thread | | | Subject | Re: [RFC 07/16] KVM: mm: Introduce VM_KVM_PROTECTED | From | John Hubbard <> | Date | Mon, 25 May 2020 23:40:01 -0700 |
| |
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. :)
thanks, -- John Hubbard NVIDIA
| |