Re: [PATCH 07/10] huge mm: move_huge_pmd does not need new_vma

Kirill A. Shutemov
2016-04-11T10:28:30Z

On Tue, Apr 05, 2016 at 01:51:15PM -0700, Hugh Dickins wrote:
> Remove move_huge_pmd()'s redundant new_vma arg: all it was used for was
> a VM_NOHUGEPAGE check on new_vma flags, but the new_vma is cloned from
> the old vma, so a trans_huge_pmd in the new_vma will be as acceptable
> as it was in the old vma, alignment and size permitting.
>
> Signed-off-by: Hugh Dickins <hughd@google.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

--
Kirill A. Shutemov