Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp902176pxu; Thu, 26 Nov 2020 15:38:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWrsKfTieq05w4kSPmLJLp2igDo8EnzxeigtqE6HhPHtyv50Ls8jjC09P2FGTLi6fDkoeB X-Received: by 2002:a17:906:4482:: with SMTP id y2mr4877694ejo.342.1606433884619; Thu, 26 Nov 2020 15:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606433884; cv=none; d=google.com; s=arc-20160816; b=hz5DvXKriOKDd27dKFI+oh6/ljglEH4kl6mRd8Rdqk+HfVPQ71g3JmDsX00U4ovjaE bFdjGlIXSCHdi1ViNSQURUO6sWIaotn0bNFtEaHmwFK6DkcP0PYEuxZBEuhEuFIfbYDG ewYMarPKUXf8W/iztLzdreqBMci4bLVaIcCkyesL3uHHoGWFVLVPYG14kwfnkdozTJaJ GcZquyTeJrbfpoCfvfjqEMo1lkXrpZNBqaIETxa4DXf/EbBr10oEDo3+yNcI6hIPsKyR Wjy1OWh1cjInesXNWjxlT5byPIO02uO2rMqkZiT/of6FUuFWzaoi5/kfTz25E6pb/OXL 2mLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=UVK1aeH4YBrPRKa2VsPGJeU9EYtUqcZYk4CytU9Iijs=; b=m/nomdg7WrR74YLpnwvEb+GbCqg1gzWYAzwD/h+/Ou9sMctoqHAyyagQZIkPyEA1EB SWlT0S09xVDUsJrtFRvfei0YyYECAHpf0BqxPUk796nwDRhlhP3+u8H8m13C/n/r4zKm Dm0LgPFCJKRfL5SAlntTBLOwMFWjUYSNjR3oqbhFAzHCdn8F8AranGUZiVe6WoJEALoT LImXaU6OZoU3W94Ad0O22yMB8D7i9amYg8CBP/BeufSWl7cKavuhSKJNTSYiK+FS0EIT Q98s8Zrt2nEWt8NK2KWSfKXe5vuIlYFG0hd/VJyL1U4q9jMZ0Cl6HOOiec/Sry5+t1ZC Zqpg== 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 w13si3136600ejn.15.2020.11.26.15.37.41; Thu, 26 Nov 2020 15:38:04 -0800 (PST) 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 S1731821AbgKZH5V (ORCPT + 99 others); Thu, 26 Nov 2020 02:57:21 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:2074 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730005AbgKZH5V (ORCPT ); Thu, 26 Nov 2020 02:57:21 -0500 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4ChVT31VWLzVfrm; Thu, 26 Nov 2020 15:56:39 +0800 (CST) Received: from dggemi710-chm.china.huawei.com (10.3.20.109) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 26 Nov 2020 15:57:16 +0800 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggemi710-chm.china.huawei.com (10.3.20.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Thu, 26 Nov 2020 15:57:16 +0800 Received: from dggemi761-chm.china.huawei.com ([10.9.49.202]) by dggemi761-chm.china.huawei.com ([10.9.49.202]) with mapi id 15.01.1913.007; Thu, 26 Nov 2020 15:57:16 +0800 From: "Song Bao Hua (Barry Song)" To: Miles Chen CC: Alexey Dobriyan , Andrew Morton , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "wsd_upstream@mediatek.com" Subject: RE: [RESEND PATCH v1] proc: use untagged_addr() for pagemap_read addresses Thread-Topic: [RESEND PATCH v1] proc: use untagged_addr() for pagemap_read addresses Thread-Index: AQHWwWNz5MRhXZKR2UCNja39TEhHcanaA0sg//+FDQCAAIXFIA== Date: Thu, 26 Nov 2020 07:57:16 +0000 Message-ID: <1f3f2d387a144f10b5b51d2022a4aac8@hisilicon.com> References: <20201123063835.18981-1-miles.chen@mediatek.com> <24d32889abb1412abcd4e868a36783f9@hisilicon.com> <1606376946.17565.6.camel@mtkswgap22> In-Reply-To: <1606376946.17565.6.camel@mtkswgap22> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.202.201] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWlsZXMgQ2hlbiBbbWFp bHRvOm1pbGVzLmNoZW5AbWVkaWF0ZWsuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgTm92ZW1iZXIg MjYsIDIwMjAgODo0OSBQTQ0KPiBUbzogU29uZyBCYW8gSHVhIChCYXJyeSBTb25nKSA8c29uZy5i YW8uaHVhQGhpc2lsaWNvbi5jb20+DQo+IENjOiBBbGV4ZXkgRG9icml5YW4gPGFkb2JyaXlhbkBn bWFpbC5jb20+OyBBbmRyZXcgTW9ydG9uDQo+ID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