Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp351072ybh; Mon, 20 Jul 2020 18:59:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuAmH1PDYGbfYPD+/Yv358e2MCPRcQsnHAxJSAKJ7O1DirZiighvv88S8BwwCjkLOBACLm X-Received: by 2002:aa7:c3d6:: with SMTP id l22mr23711609edr.148.1595296775035; Mon, 20 Jul 2020 18:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595296775; cv=none; d=google.com; s=arc-20160816; b=I7YxXuV98JlO1emK+lX/U5iJyeGC1ANaPDmaaUwxJzFuzIIPtKnOXeKpa4pSX0fCa5 CvZSq9sTDaHcin9rskep0F/XEH7BjIIVM+mCVnDBE20YWt2CQghwGEvZW6yotpN3mId4 EWd3m7qwfL3MqNN89smrWEp5XbZLvwPIwYC2zJveF7S2GOVjFLe/MKcE/5K/Rab8WR1O DWsYnbrlmOY9w+uICaMHwyYR7hEqcaPleUwYpIO97xHIxHyHL/IknJvlWtoeU/H5kCIb B10U1svwGRioY7TKQUGKxOqgdAyYNu0iG5EQ8zngfvVTaG2Lw1jwszn4+/y0I1U8Nspm 8Cmg== 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=B2Mxm+d6H5mYh2g5aQ2N2HGf+GDUEZE977s3ZHZcBC8=; b=JFT37yvrhHi92DmxRUodCm13Vi5PU2ZzELQfigqeh9PPLYw1PWS2lD2qjQdjAcp749 5NsZTsioPMLn9DA6KUIH1AhPiHIDixa29wXl+RC78A8Lpm0/f098TnDLYoVrnVwMfTRi oamcKciIzoGedo7RFO451ta1cC58LN5TFzCa633o8IzTNDSCXpBUd36ZeS+eapo26yzh QY5jhS60DXhD+r/lKF03vKUpsUG6Cy+xydv8tfoydH1zM0YZS1UTamIYLvX6rcvJrAm7 JKNjGTi4MBTTH9xWu2Af3nHJhEBr/E9Y9Nk82EX0ePoi3bvz1bWy4cquJ6mHuMkDkbNk vFlA== 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 b8si11134121edx.509.2020.07.20.18.59.09; Mon, 20 Jul 2020 18:59:35 -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 S1727038AbgGUB4p (ORCPT + 99 others); Mon, 20 Jul 2020 21:56:45 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2648 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725857AbgGUB4p (ORCPT ); Mon, 20 Jul 2020 21:56:45 -0400 Received: from DGGEMM402-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 7AB62FA7F9BA7BAE1B14; Tue, 21 Jul 2020 09:56:41 +0800 (CST) Received: from DGGEMM422-HUB.china.huawei.com (10.1.198.39) by DGGEMM402-HUB.china.huawei.com (10.3.20.210) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 21 Jul 2020 09:56:40 +0800 Received: from DGGEMM526-MBX.china.huawei.com ([169.254.8.195]) by dggemm422-hub.china.huawei.com ([10.1.198.39]) with mapi id 14.03.0487.000; Tue, 21 Jul 2020 09:56:35 +0800 From: "liwei (CM)" To: "Song Bao Hua (Barry Song)" , "catalin.marinas@arm.com" , "will@kernel.org" CC: fengbaopeng , "nsaenzjulienne@suse.de" , "steve.capper@arm.com" , "rppt@linux.ibm.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , sujunfei , "Xiaqing (A)" , "Yaobaofeng (Yaobaofeng)" 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: AQHWVMrtO0CAKNNn+U+1wOV2mLLlGKj8wE6AgACJU9CAAV82gIASsSBA Date: Tue, 21 Jul 2020 01:56:33 +0000 Message-ID: <1699CE87DE933F49876AD744B5DC140F2312A02B@dggemm526-mbx.china.huawei.com> References: <20200708015555.14946-1-liwei213@huawei.com> <1699CE87DE933F49876AD744B5DC140F230F8396@DGGEMM506-MBS.china.huawei.com> In-Reply-To: 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 SGksIGFsbA0KDQpJJ20gc29ycnkgdG8gYm90aGVyIHlvdSwgYnV0IHN0aWxsIHZlcnkgaG9wZSB5 b3UgY2FuIGdpdmUgY29tbWVudHMgb3Igc3VnZ2VzdGlvbnMgdG8gdGhpcyBwYXRjaCwgdGhhbmsg eW91IHZlcnkgbXVjaC4NCg0KDQotLS0tLdPKvP7Urbz+LS0tLS0NCreivP7IyzogU29uZyBCYW8g SHVhIChCYXJyeSBTb25nKSANCreiy83KsbzkOiAyMDIwxOo31MI5yNUgMjA6MjcNCsrVvP7Iyzog bGl3ZWkgKENNKSA8bGl3ZWkyMTNAaHVhd2VpLmNvbT47IGNhdGFsaW4ub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