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=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable 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 03B7FC433DF for ; Thu, 23 Jul 2020 02:35:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C591220658 for ; Thu, 23 Jul 2020 02:35:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wuynMRiw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C591220658 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RYv6XZRyWFmkyiKpvh0JE6UftGIypIzO7vZ5lDVeHnU=; b=wuynMRiwylRn7DBSu1OY9VzBZ jVq/rJw4jT3ZxvpQqlWR9EyQvZ1M7zUtUoJYjHEF7YgRYvSCTdF6fa95K3GEOZNSP6axze6/s77Jz qKgKTzeKFUjvWP5NAVT37HB9hxch4ajZWhI9E55/KYE2U1YzC/fmSEtHlRsm3dYipoqcVDiZ5f3me wd8Qm/1AgSfnCjOXcRu273yONzqvUUXOmm2HkZBsRW1i+5Wga2tUpJQROjwj1SzmBPgHEvzmvRVx+ 1zaIyOiuyuerCfKRCBgdSbJ0Lbzu103MeNUSpRx1Xm2Lb3/2k3K1AZq7CrF/3PkJot+IrWq8e8eOJ DECz2noXA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyR3Z-0006ki-HA; Thu, 23 Jul 2020 02:34:01 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyR3W-0006kL-G1 for linux-arm-kernel@lists.infradead.org; Thu, 23 Jul 2020 02:33:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7DD231B; Wed, 22 Jul 2020 19:33:54 -0700 (PDT) Received: from [10.163.85.73] (unknown [10.163.85.73]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 08D203F718; Wed, 22 Jul 2020 19:33:49 -0700 (PDT) Subject: Re: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP To: Wei Li , catalin.marinas@arm.com, will@kernel.org References: <20200721073203.107862-1-liwei213@huawei.com> From: Anshuman Khandual Message-ID: Date: Thu, 23 Jul 2020 08:03:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200721073203.107862-1-liwei213@huawei.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200722_223358_603346_F566E7D2 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: song.bao.hua@hisilicon.com, steve.capper@arm.com, puck.chen@hisilicon.com, sujunfei2@hisilicon.com, linux-kernel@vger.kernel.org, rppt@linux.ibm.com, nsaenzjulienne@suse.de, saberlily.xia@hisilicon.com, butao@hisilicon.com, linux-arm-kernel@lists.infradead.org, fengbaopeng2@hisilicon.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 07/21/2020 01:02 PM, Wei Li wrote: > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > do not free the reserved memory for the page map, this patch do it. > > Signed-off-by: Wei Li > Signed-off-by: Chen Feng > Signed-off-by: Xia Qing > --- > arch/arm64/mm/init.c | 81 +++++++++++++++++++++++++++++++++++++++++++++------- > 1 file changed, 71 insertions(+), 10 deletions(-) This patch does not compile on 5.8-rc6 with defconfig. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel