lkml.org 
[lkml]   [2016]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 3/6] mm/userfaultfd: add __mcopy_atomic_hugetlb for huge page UFFDIO_COPY
From
Date
On 06/06/2016 11:27 PM, Hillf Danton wrote:
>> @@ -182,6 +354,13 @@ retry:
>> goto out_unlock;
>>
>> /*
>> + * If this is a HUGETLB vma, pass off to appropriate routine
>> + */
>> + if (dst_vma->vm_flags & VM_HUGETLB)
>
> Use is_vm_hugetlb_page()?
> And in cases in subsequent patches?
>
> Hillf

Yes, that would be better. Thanks.

--
Mike Kravetz

\
 
 \ /
  Last update: 2016-06-07 19:01    [W:0.058 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site