From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tFbCy63d5zDvjM for ; Fri, 11 Nov 2016 21:06:20 +1100 (AEDT) Received: by mail-wm0-x22a.google.com with SMTP id a197so416558137wmd.0 for ; Fri, 11 Nov 2016 02:06:20 -0800 (PST) Date: Fri, 11 Nov 2016 13:06:10 +0300 From: "Kirill A. Shutemov" To: "Aneesh Kumar K.V" Cc: akpm@linux-foundation.org, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH V2] mm: move vma_is_anonymous check within pmd_move_must_withdraw Message-ID: <20161111100610.GA19382@node.shutemov.name> References: <201611071732.njM40txT%fengguang.wu@intel.com> <20161107144639.24048-1-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20161107144639.24048-1-aneesh.kumar@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Nov 07, 2016 at 08:16:39PM +0530, Aneesh Kumar K.V wrote: > Architectures like ppc64 want to use page table deposit/withraw > even with huge pmd dax entries. Allow arch to override the > vma_is_anonymous check by moving that to pmd_move_must_withdraw > function > > Signed-off-by: Aneesh Kumar K.V Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov