Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp335739ybh; Wed, 22 Jul 2020 01:44:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX2H1agNRaJDjXTxoBEwTC/UP5L3QqVMl+5Tz09MF4HRZv5VlNsvqmdXx4tFbcTqg8mcDj X-Received: by 2002:a05:6402:128c:: with SMTP id w12mr30799864edv.65.1595407463211; Wed, 22 Jul 2020 01:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595407463; cv=none; d=google.com; s=arc-20160816; b=G+1T/XAeEPovEL7TjAKP7CDGmNNz3e9LzMLuCsH+w+oKiQXMdRJa1PyMS95Ma8ZZSL 9EFkR9Pz4WglarWvCZH4oXTTWIlA7xi8FcLkZu1XthD4UjnDksh1CjIC8xzvlu2NCuJi R8v9SGqC3uwOEvFg8dS/LjZ/qmJ5eDyKdraApnKNXHfKjE2EtNpySS0zC68UnlrLDBs1 ipvZg79a8YWPV3gf1akB9vhJmurT9JQK/K3vgcvXHf4T3VJlJEaS8c3e6xihbZM4X1zS XV1qUuQkISZzseuqUENg/dap+L248YEK58+kS4Bk8p3X53gm5RlUO2FwuISWcDPHD4k7 tHCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=4Xq4e6/WqfkKiVM1tHFbBvFQYqzDB8jhf+dYPCEVPR8=; b=KN+k5NaaY0KQDk09+UCYkojHeAHRLLgS6AM9YbGd5s/fGaOv61HKRlK2N5fQh8YnCY nSCB4ObuOpWgKdb85HdEg1ijs6zKDNKZdIMePlNRETQyJZz8rf6yn9Xu+eN+Z8oiOxWL pik3sCG2ZgWmKjfniOg4tqZUnlmWsN92ZXoih0cRzGQWJ+lYKssxNs9nHhXtd3ZJQQ7y PQdBjgSbwXDbhE878DaDkFGeZqr4pok9MMpm+wHXup0gaLAXcVqKxcwaPlu37jsm/nJ3 tAAmEfAsJqp4trtQroSZTmCx3Ga5MTaPqsXwRAFQ8VTU20JekDPuEwaNHcfhi6v49Iq2 h+6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r16si14626633edo.473.2020.07.22.01.44.00; Wed, 22 Jul 2020 01:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730415AbgGVIld (ORCPT + 99 others); Wed, 22 Jul 2020 04:41:33 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2655 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726638AbgGVIlc (ORCPT ); Wed, 22 Jul 2020 04:41:32 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 63D67DED05347DFCE05A; Wed, 22 Jul 2020 16:41:25 +0800 (CST) Received: from DGGEMM421-HUB.china.huawei.com (10.1.198.38) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.487.0; Wed, 22 Jul 2020 16:41:25 +0800 Received: from DGGEMM526-MBX.china.huawei.com ([169.254.8.195]) by dggemm421-hub.china.huawei.com ([10.1.198.38]) with mapi id 14.03.0487.000; Wed, 22 Jul 2020 16:41:18 +0800 From: "liwei (CM)" To: Mike Rapoport CC: "catalin.marinas@arm.com" , "will@kernel.org" , "Xiaqing (A)" , "Chenfeng (puck)" , butao , fengbaopeng , "nsaenzjulienne@suse.de" , "steve.capper@arm.com" , "Song Bao Hua (Barry Song)" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , sujunfei , zhaojiapeng Subject: =?gb2312?B?tPC4tDogW1BBVENIXSBhcm02NDogbW06IGZyZWUgdW51c2VkIG1lbW1hcCBm?= =?gb2312?Q?or_sparse_memory_model_that_define_VMEMMAP?= Thread-Topic: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP Thread-Index: AQHWXzEQMpvo3yT4K0COUiys26URoqkSmCeAgAClMpA= Date: Wed, 22 Jul 2020 08:41:17 +0000 Message-ID: <1699CE87DE933F49876AD744B5DC140F2312E948@dggemm526-mbx.china.huawei.com> References: <20200721073203.107862-1-liwei213@huawei.com> <20200722060705.GK802087@linux.ibm.com> In-Reply-To: <20200722060705.GK802087@linux.ibm.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.144.77.141] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCi0tLS0t08q8/tStvP4tLS0tLQ0Kt6K8/sjLOiBNaWtlIFJhcG9wb3J0IFttYWlsdG86cnBw dEBsaW51eC5pYm0uY29tXSANCreiy83KsbzkOiAyMDIwxOo31MIyMsjVIDE0OjA3DQrK1bz+yMs6 IGxpd2VpIChDTSkgPGxpd2VpMjEzQGh1YXdlaS5jb20+DQqzrcvNOiBjYXRhbGluLm1hcmluYXNA YXJtLmNvbTsgd2lsbEBrZXJuZWwub3JnOyBYaWFxaW5nIChBKSA8c2FiZXJsaWx5LnhpYUBoaXNp bGljb24uY29tPjsgQ2hlbmZlbmcgKHB1Y2spIDxwdWNrLmNoZW5AaGlzaWxpY29uL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