Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8285pxu; Thu, 3 Dec 2020 17:35:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDr+diZ9AC08Bo5CBaUa7PJM4MEuv2AzV2SprGENQGR36milWpQVpdAtSnfZI5nwsxMGGj X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr4870006ejg.255.1607045745192; Thu, 03 Dec 2020 17:35:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607045745; cv=none; d=google.com; s=arc-20160816; b=hae7zn41P8pwQ3T7H7HxKV1mtumjDYc5hMbYYIoBhSXjxhPN3AfszZjhdkJUT2EONP VjjPqcw57yEfWadazJGehLfhyJbQe9/X8x1rbAZczTfUYGJIVGDOwUPFklgaSY4g0afp DaH57+zUP/FIQZAhZ0A+gp+OZKCFhHmwfMgnpJQVC1jw852dKc7ObuXWccUjhn8wyJoJ KYRrwInX4aP5Oji/h+IDOoRpcElCsdkZStMUcijPZD7fo7BOCv4SlFLD2qLaq9lOJQz1 KqFX+0db/0cq42EuL5fblFe58Nud6zDSUg6uWOIgON1yYCJEnDheVsGCO6BSp6fzb9sP DxHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=asU0hyd6B0tIuuw9zw9QTEWC2OgJ7pNYC02KEDgawhA=; b=paqVsPmgfSpQwfyJXcrsP/nydVhEDKpzMyLMXZx+WCcOkh4NhJTHqUclrqtTeNEHg5 1pQd90ygNhg3kUfEH1TY07sVmMFxvstXQp227mr7an4gLR11TMqkYMMIAJYxkzLLcf1T U2pLaRZtuUNUNIArttSY4dG9dfdGoN74BXuSgj+Ro/JWWj+2oCQ24+32xfVbMtZ6q2CY O5vRYOzQT2MVhil6j03WV8axBcXIcNuKwIvhiBV1BnYFtyoourh9BmSsmClnnxvbs2Uy RzLjuRiU5+nfRsE7oyjlUdzQqSTv6WmicIYHU/NdFdzirHxoaNrGztS5kuMMrzHhd477 AwTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Up9ZqSCq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si1981019edv.300.2020.12.03.17.35.23; Thu, 03 Dec 2020 17:35:45 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=Up9ZqSCq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726162AbgLDBeA (ORCPT + 99 others); Thu, 3 Dec 2020 20:34:00 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:36604 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725933AbgLDBeA (ORCPT ); Thu, 3 Dec 2020 20:34:00 -0500 X-UUID: 1a1184f3fae94b00b88eb04fe4e4e788-20201204 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=asU0hyd6B0tIuuw9zw9QTEWC2OgJ7pNYC02KEDgawhA=; b=Up9ZqSCqRfRLvnwFp3OcBXFNk6I0liB/UvaXCB5mJmwJ2X6ptrT9Ft0fhPg2rRN8xbcSiKGWDLrfsYPFaYYmf5Hr1KD0X7UKYOLojTKhUhEVCmWA+LEHPwsi3tRZu3IQZwhL8jjXtyhyv4MN1oCvskSPv/PvIk7+v6q0JvLiCeI=; X-UUID: 1a1184f3fae94b00b88eb04fe4e4e788-20201204 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 975999441; Fri, 04 Dec 2020 09:33:12 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Dec 2020 09:33:10 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Dec 2020 09:33:11 +0800 Message-ID: <1607045590.22275.6.camel@mtkswgap22> Subject: Re: [PATCH v2] proc: use untagged_addr() for pagemap_read addresses From: Miles Chen To: Vincenzo Frascino CC: Alexey Dobriyan , Andrew Morton , , , , , Andrey Konovalov , Alexander Potapenko , Andrey Ryabinin , Catalin Marinas , Dmitry Vyukov , Marco Elver , "Will Deacon" , "Eric W . Biederman" , Song Bao Hua , Date: Fri, 4 Dec 2020 09:33:10 +0800 In-Reply-To: References: <20201127050738.14440-1-miles.chen@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTEyLTAzIGF0IDExOjQ1ICswMDAwLCBWaW5jZW56byBGcmFzY2lubyB3cm90 ZToNCj4gSGkgTWlsZXMsDQo+IA0KPiBPbiAxMS8yNy8yMCA1OjA3IEFNLCB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