lkml.org 
[lkml]   [2020]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 07/16] KVM: mm: Introduce VM_KVM_PROTECTED
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

\
 
 \ /
  Last update: 2020-05-27 00:05    [W:0.112 / U:4.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site