Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752282AbcDKK2b (ORCPT ); Mon, 11 Apr 2016 06:28:31 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:36503 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbcDKK2a (ORCPT ); Mon, 11 Apr 2016 06:28:30 -0400 Date: Mon, 11 Apr 2016 13:28:26 +0300 From: "Kirill A. Shutemov" To: Hugh Dickins Cc: Andrew Morton , "Kirill A. Shutemov" , Andrea Arcangeli , Andres Lagar-Cavilla , Yang Shi , Ning Qu , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 07/10] huge mm: move_huge_pmd does not need new_vma Message-ID: <20160411102826.GA22996@node.shutemov.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 481 Lines: 12 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 Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov