From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00416C433B4 for ; Mon, 19 Apr 2021 10:32:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D144A61279 for ; Mon, 19 Apr 2021 10:32:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238648AbhDSKdF (ORCPT ); Mon, 19 Apr 2021 06:33:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:51338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238617AbhDSKc5 (ORCPT ); Mon, 19 Apr 2021 06:32:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 020E361166; Mon, 19 Apr 2021 10:32:26 +0000 (UTC) Date: Mon, 19 Apr 2021 11:32:24 +0100 From: Catalin Marinas To: Kefeng Wang Cc: Andrew Morton , Will Deacon , Thomas Bogendoerfer , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: Move HOLES_IN_ZONE into mm Message-ID: <20210419103223.GA3515@arm.com> References: <20210417075946.181402-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210417075946.181402-1-wangkefeng.wang@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 17, 2021 at 03:59:46PM +0800, Kefeng Wang wrote: > commit a55749639dc1 ("ia64: drop marked broken DISCONTIGMEM and VIRTUAL_MEM_MAP") > drop VIRTUAL_MEM_MAP, so there is no need HOLES_IN_ZONE on ia64. > > Also move HOLES_IN_ZONE into mm/Kconfig, select it if architecture needs > this feature. > > Signed-off-by: Kefeng Wang > --- > arch/arm64/Kconfig | 4 +--- > arch/ia64/Kconfig | 3 --- > arch/mips/Kconfig | 3 --- > mm/Kconfig | 3 +++ > 4 files changed, 4 insertions(+), 9 deletions(-) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index f0b17d758912..3c5a53e0db91 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -202,6 +202,7 @@ config ARM64 > select HAVE_KPROBES > select HAVE_KRETPROBES > select HAVE_GENERIC_VDSO > + select HOLES_IN_ZONE > select IOMMU_DMA if IOMMU_SUPPORT > select IRQ_DOMAIN > select IRQ_FORCED_THREADING > @@ -1053,9 +1054,6 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK > def_bool y > depends on NUMA > > -config HOLES_IN_ZONE > - def_bool y > - > source "kernel/Kconfig.hz" For arm64: Acked-by: Catalin Marinas