[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <279444f1-bfaa-d730-1cde-38552d3c4610@oracle.com>
Date: Tue, 7 Jun 2016 09:35:00 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Hillf Danton <hillf.zj@...baba-inc.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Cc: "'Andrea Arcangeli'" <aarcange@...hat.com>,
"'Hugh Dickins'" <hughd@...gle.com>,
"'Dave Hansen'" <dave.hansen@...ux.intel.com>,
"'Kirill A. Shutemov'" <kirill.shutemov@...ux.intel.com>,
"'Naoya Horiguchi'" <n-horiguchi@...jp.nec.com>,
"'Michal Hocko'" <mhocko@...e.com>,
"'Andrew Morton'" <akpm@...ux-foundation.org>
Subject: Re: [RFC PATCH 3/6] mm/userfaultfd: add __mcopy_atomic_hugetlb for
huge page UFFDIO_COPY
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
Powered by blists - more mailing lists