Received: by 10.192.165.148 with SMTP id m20csp790025imm; Fri, 27 Apr 2018 07:33:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq14XM9+UZ7Oamay7Tg9KHm79Nsj6s0TP0iLzqEm//fFcMcih0yRJwKSKPnzuwWj58Bm0Uk X-Received: by 10.98.106.10 with SMTP id f10mr2388213pfc.99.1524839619123; Fri, 27 Apr 2018 07:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524839619; cv=none; d=google.com; s=arc-20160816; b=vA2J+04BU0hmflJDv8I9rVn36muHH9M3Qw3pbKUYLURewBIahRIfbX5KazF1rBOBCl p80rSTBGWdDmCZchtTEIaMPYx5lQDDkDH6E9/V+G+JtbK9aRL8+lH9FwEd20iD1JF32E qCesfFy3vUhSD2Z6FqPT3rW24yeGVv0mZaNOnc4KqPrjLdY/ztk/+6vYsdlmzKH3tpq3 7sa7BNN1Dmkk4PC4HZl1Ev0wK77nO1VMEiiIuY6ND7S5MxUZY6J3XMN4/V3hGGFSGWqj SmZmz3OGmMtKtNs/WIetNPFfM0fPeubO4BjP6FLovQUJAo+BBbxoDIs8wTa5qJUw69uz Y1NQ== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=ZJm0EB4FBWAaU9FZ7JxeargmslOr8u8bU1leHQYdq38=; b=qVxd1+R3Cd3A5a/BnhUhqMmW5ceEVKft7G0ioHIAFohgz/QvRvs054TbTmMiHIZzi1 0l/FxAuSw5Ls489FKcaGBzzkANqVARTCTDywedgIAbNJW7iFhpRZf3/mpEF09x3+2ALr QIod+yxIoRQsleFVppbSkoKFsBeTewoizkTZlMSulpKvoxnI0PeJAPvjwLNZUjugtPYc 8QJuEnSIjtYUMvvtiAqGLhKWbYyFrsBdHPs22LyZp04ut//+tQcc6SWeMqBSIjqSuip5 ZFL9hDF6yjoO4jHXog7dw3Vg6USZYFv+uS/8kjQ99rZ90RIH5/RewOBmRoJV8WR24fMj a+Dg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k65si1412379pfg.38.2018.04.27.07.33.24; Fri, 27 Apr 2018 07:33:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934992AbeD0OcX (ORCPT + 99 others); Fri, 27 Apr 2018 10:32:23 -0400 Received: from g4t3426.houston.hpe.com ([15.241.140.75]:53235 "EHLO g4t3426.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934356AbeD0OcU (ORCPT ); Fri, 27 Apr 2018 10:32:20 -0400 Received: from G2W6309.americas.hpqcorp.net (g2w6309.austin.hp.com [16.197.64.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id EDF756D; Fri, 27 Apr 2018 14:32:18 +0000 (UTC) Received: from G4W9120.americas.hpqcorp.net (2002:10d2:150f::10d2:150f) by G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 27 Apr 2018 14:31:58 +0000 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (15.241.52.12) by G4W9120.americas.hpqcorp.net (16.210.21.15) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Fri, 27 Apr 2018 14:31:58 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM (10.169.8.22) by AT5PR8401MB1284.NAMPRD84.PROD.OUTLOOK.COM (10.169.9.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.18; Fri, 27 Apr 2018 14:31:51 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::68ea:8961:7e7e:8543]) by AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::68ea:8961:7e7e:8543%3]) with mapi id 15.20.0715.018; Fri, 27 Apr 2018 14:31:51 +0000 From: "Kani, Toshi" To: "joro@8bytes.org" CC: "linux-kernel@vger.kernel.org" , "bp@suse.de" , "tglx@linutronix.de" , "linux-mm@kvack.org" , "guohanjun@huawei.com" , "wxf.wang@hisilicon.com" , "stable@vger.kernel.org" , "x86@kernel.org" , "akpm@linux-foundation.org" , "willy@infradead.org" , "hpa@zytor.com" , "catalin.marinas@arm.com" , "mingo@redhat.com" , "will.deacon@arm.com" , "Hocko, Michal" , "cpandya@codeaurora.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces Thread-Topic: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces Thread-Index: AQHTu76cmkz1ie7mb0G/9GXlGHy7daQTW6wAgAAh0oCAABGZAIAABywAgAAmsYCAACedAIAAmRcAgABzlAA= Date: Fri, 27 Apr 2018 14:31:51 +0000 Message-ID: <1524839460.2693.531.camel@hpe.com> References: <20180314180155.19492-1-toshi.kani@hpe.com> <20180314180155.19492-3-toshi.kani@hpe.com> <20180426141926.GN15462@8bytes.org> <1524759629.2693.465.camel@hpe.com> <20180426172327.GQ15462@8bytes.org> <1524764948.2693.478.camel@hpe.com> <20180426200737.GS15462@8bytes.org> <1524781764.2693.503.camel@hpe.com> <20180427073719.GT15462@8bytes.org> In-Reply-To: <20180427073719.GT15462@8bytes.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=toshi.kani@hpe.com; x-originating-ip: [15.219.163.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AT5PR8401MB1284;7:M11Xsnd1XEa36TrIkMJjzDiDIzHJXdUY0LdEQX3vJlvLwpiWR9g+SSAr9OOu7Da/t2Im25OUfdAN3nj787++UK8+9zukbNPbJk/LRrf2SQOKZUQVeGJVDGLAL1/efClRuwZJlZqdWXufCHW5adpf6Fi0VFPHSyltvJUXOpkRsAmavnAZInizC/wNLLN3VF80ry8g7ynea5f8ak6KxYj/FpdeSwpAqFuvMMGpAJ664m2gkNQbaSm9FJCxN1YOSBWp x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989080)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(5600026)(2017052603328)(7153060)(7193020);SRVR:AT5PR8401MB1284; x-ms-traffictypediagnostic: AT5PR8401MB1284: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(6055026)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:AT5PR8401MB1284;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB1284; x-forefront-prvs: 0655F9F006 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(39860400002)(346002)(39380400002)(366004)(51914003)(189003)(199004)(377424004)(6916009)(105586002)(476003)(486006)(7416002)(5660300001)(446003)(229853002)(2351001)(103116003)(2616005)(99286004)(11346002)(6486002)(6436002)(7736002)(186003)(14454004)(8936002)(6246003)(36756003)(1730700003)(8676002)(81156014)(81166006)(3280700002)(3660700001)(68736007)(316002)(59450400001)(2906002)(5640700003)(305945005)(97736004)(3846002)(53936002)(2900100001)(66066001)(4326008)(478600001)(5250100002)(2501003)(25786009)(106356001)(93886005)(6116002)(26005)(102836004)(6506007)(54906003)(76176011)(6512007)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB1284;H:AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 4mvJCAaT/Vbzs82zHQXlQ6vXOqSDVwDqm++nkDzHqvcu/EQMVPcIGCiJsWnQ9ik7xDvKaAf3a+GT6+j/w/fhFRFU43cSKlGol6bVthgAY0DG7bLfJcH3ZtzNCvQ6jNeUMOKo91ze1lEHJAGnDKswKtn7ED9D/bDu4zXfDz4LXVwudt9AHdfnAI+CSSItR7Qz spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <76CF738D819A5A4C9117DC257825724D@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 51f38f5d-f24f-4883-0e8b-08d5ac4b9dc8 X-MS-Exchange-CrossTenant-Network-Message-Id: 51f38f5d-f24f-4883-0e8b-08d5ac4b9dc8 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2018 14:31:51.0970 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1284 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTA0LTI3IGF0IDA5OjM3ICswMjAwLCBqb3JvQDhieXRlcy5vcmcgd3JvdGU6 DQo+IE9uIFRodSwgQXByIDI2LCAyMDE4IGF0IDEwOjMwOjE0UE0gKzAwMDAsIEthbmksIFRvc2hp IHdyb3RlOg0KPiA+IFRoYW5rcyBmb3IgdGhlIGNsYXJpZmljYXRpb24uIEFmdGVyIHJlYWRpbmcg dGhyb3VnaCBTRE0gb25lIG1vcmUgdGltZSwgSQ0KPiA+IGFncmVlIHRoYXQgd2UgbmVlZCBhIFRM QiBwdXJnZSBoZXJlLiBIZXJlIGlzIG15IGN1cnJlbnQgdW5kZXJzdGFuZGluZy4gDQo+ID4gDQo+ ID4gIC0gSU5WTFBHIHB1cmdlcyBib3RoIFRMQiBhbmQgcGFnaW5nLXN0cnVjdHVyZSBjYWNoZXMu IFNvLCBQTUQgY2FjaGUgd2FzDQo+ID4gcHVyZ2VkIG9uY2UuDQo+ID4gIC0gSG93ZXZlciwgcHJv Y2Vzc29yIG1heSBjYWNoZSB0aGlzIFBNRCBlbnRyeSBsYXRlciBpbiBzcGVjdWxhdGlvbg0KPiA+ IHNpbmNlIGl0IGhhcyBwLWJpdCBzZXQuIChUaGlzIGlzIHdoZXJlIG15IG1pc3VuZGVyc3RhbmRp bmcgd2FzLg0KPiA+IFNwZWN1bGF0aW9uIGlzIG5vdCBhbGxvd2VkIHRvIGFjY2VzcyBhIHRhcmdl dCBhZGRyZXNzLCBidXQgaXQgbWF5IHN0aWxsDQo+ID4gY2FjaGUgdGhpcyBQTUQgZW50cnkuKQ0K PiA+ICAtIEEgc2luZ2xlIElOVkxQRyBvbiBlYWNoIHByb2Nlc3NvciBwdXJnZXMgdGhp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