Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp344937ybt; Wed, 8 Jul 2020 01:09:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi5FQgBSDZqty/s2zzgYVr7wkKf3rVxpyLnA6DrEHmOd/wlUsWHZ2zc32JgezqzplRxfEi X-Received: by 2002:a50:fc88:: with SMTP id f8mr34551218edq.314.1594195765930; Wed, 08 Jul 2020 01:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594195765; cv=none; d=google.com; s=arc-20160816; b=VSGvv8PCaMKTxQa4KbeJzllSqXvEs0k0MsYtrO7TNDHWXGDUYgoDH0YETyOQTe7yqD glAEy86LDkY3cazRgvHKlZrsHhjSBtpYsKowVMEj9LOWYNh+XCU3u6FXY41n7pxfd0yu DavJIoiykxAOHcFPfhBZdB4D8KQIWQ7uB7kptfm4r6ZjPpRojtVsJshPEdaH3NXRyr7e 38BV6meqW2xQYI2u3/ZaxqOlhwDSQh3Ed30M58PGMtwT5A6fNTtW1Qnu2cxyYwzzxU6z uAKQhBrsoY/DU72xzyYAgVGTzuz158uyTGahCyAs2CwEZKR83yYuGeYo6f4JnwBpoYir fO7g== 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=TPTP67rVHfdFvrETG+05yTfaj0gySHhGaXQBSZ/77Gk=; b=RX/MAd6hQS1UKJeVYWhlt4litwqGyyhkBAHA8iWCSuWiV+vi0KR6VgH65YRdHcQt2h eKP3tcW26sC1m6NL2pwTDH7eh3Hj3MjmJu7oWKzzbzzXSiYRJYAWf4T40k7VLziCX4OG Qmhvcc4WB/4xz+FmI34XgdhxUCeBCQ2XRe+oWHjiGTS1hKmR395bPFPjBOo0OMLy1U8/ XXifREEtPsBLTCoc29eHGCyEKx+y2NF9cAmzLEbTgH6ZwS2r05++O8SHp4k/EAyuHiLN /epPy/rzZDqrLG/UMKcvAvk75bAHC7tc/k1LVjUyHkJJzYupgNRGwBRw/x6TZZQX4/rG o0gw== 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 v9si16126442eja.482.2020.07.08.01.09.03; Wed, 08 Jul 2020 01:09:25 -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 S1727871AbgGHHwJ (ORCPT + 99 others); Wed, 8 Jul 2020 03:52:09 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2566 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725747AbgGHHwJ (ORCPT ); Wed, 8 Jul 2020 03:52:09 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id C7CFBFEC0BD6E4BD4AB8; Wed, 8 Jul 2020 15:52:04 +0800 (CST) Received: from DGGEMM506-MBS.china.huawei.com ([169.254.4.37]) by DGGEMM404-HUB.china.huawei.com ([10.3.20.212]) with mapi id 14.03.0487.000; Wed, 8 Jul 2020 15:51:54 +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+1wOV2mLLlGKj8wE6AgACJU9A= Date: Wed, 8 Jul 2020 07:51:54 +0000 Message-ID: <1699CE87DE933F49876AD744B5DC140F230F8396@DGGEMM506-MBS.china.huawei.com> References: <20200708015555.14946-1-liwei213@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 SGksIGJhb2h1YQ0KDQpUaGFuayB5b3UgZm9yIHlvdXIgYXR0ZW50aW9uLg0KDQpJbiBteSB1bmRl cnN0YW5kaW5nIG9mIHRoZSBNRU1PUllfSE9UUExVRyB0aGlzIHBhdGNoIGhhcyBubyBlZmZlY3Qg b24gaXQuIFRoZSByZWFzb24gaXMgdGhhdCBpbiBzcGFyc2VfYWRkX29uZV9zZWN0aW9uKCkgdGhl IG1lbW9yeSB0aGF0IG1lbW1hcCBuZWVkcyBmcm9tIFNsYWIgaWYga2VybmVsIHN0YXJ0IGNvbXBs ZXRlZKOsdGhpcyBtZW1vcnkgaGFzIG5vdGhpbmcgdG8gZG8gd2l0aCBtZW1ibG9jayBhbGxvYy8g ZnJlZSBtZW1vcnkgaW4gdGhlIHByb2Nlc3Mgb2Yga2VybmVsIHN0YXJ0Lg0KDQpZb3UgbWF5IGhh dmUgYSBsb29rIHZtZW1tYXBfYWxsb2NfYmxvY2sgKCkgdGhpcyBmd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