Received: by 10.213.65.68 with SMTP id h4csp1995imn; Thu, 15 Mar 2018 07:52:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELvPQfzt01Z3bbebq9cZlTW4zOOa15wj/OBbEwJEFtxs7+GuPrnW5fzlAtm68jKObLn7GKQE X-Received: by 2002:a17:902:7291:: with SMTP id d17-v6mr7126558pll.65.1521125576435; Thu, 15 Mar 2018 07:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521125576; cv=none; d=google.com; s=arc-20160816; b=rnSJr3uOzv2rXRFhVr2En5fqa2eDGORO3muprtMOgrbuZ1JH/H11hErcdMpX58ZFkn WNKmWu2md/eDEJGueUFkCOfuUqrcjpKP5MK/BfUsTUEVxdTHmX/QBReNtYMPtfLDqg48 RCShSa0v+FZZCV+eppHOJzTiCXTT6jNGjMNXZ5E9hEXtoEDIo5yvUY094ehGB9wcyGUh wviQaDP5yaEnM0yWy7k9PCa1S1bZlHt8lELvUdms5iFUePUHAy9zkNMEhScPscTcBlGJ 6GK+bjX4QDYTiauZxL8yTbHS93cOAc7OQt88uPRzNLN80b/WwOC0pflBn2wg3ALWTaNw yE5Q== 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=6GLsWyeixh0EBVyzT6eV5bWUmTy7p4GI8YUmQLGpntw=; b=VeGq+q+9FrhIfq6Gqoj1KnMxqI/bIyIysbgXIm5zePNP9E1fIb1kDP9e1VNyBFWqm5 +By+C2x6bHacB9x81k5pL1RZoFUfYSK1FGsoP5INAO8u7IuzDj2vBSYGAqapudehKaBH rj5uWDbEnVgyg/625YRocTKxupSB23mGsTILBnzcWe+BlLmz1nM8Jx2ZzfJOARtwziPf Svu7Dryn+jNvF38NiKJrNT7sUQoGppknWWQ+8FDEYLAqPjdymaXFSFYa9dfC0zpkXJUu 5dKbQmXH60RI757w/Ah8B6YfBQZe0j3TqtEkajqO/Q+gCkmDooihqhmnQlW5VBmiRolO cPeg== 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 i9-v6si1055328pll.87.2018.03.15.07.52.30; Thu, 15 Mar 2018 07:52:56 -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 S1752737AbeCOOvM (ORCPT + 99 others); Thu, 15 Mar 2018 10:51:12 -0400 Received: from g9t5009.houston.hpe.com ([15.241.48.73]:41920 "EHLO g9t5009.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbeCOOvK (ORCPT ); Thu, 15 Mar 2018 10:51:10 -0400 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id F19D98E; Thu, 15 Mar 2018 14:51:08 +0000 (UTC) Received: from G9W4618.americas.hpqcorp.net (16.220.56.59) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Mar 2018 14:51:09 +0000 Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G9W4618.americas.hpqcorp.net (16.220.56.59) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Mar 2018 14:51:08 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Thu, 15 Mar 2018 14:51:08 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM (10.169.83.9) by DF4PR8401MB1145.NAMPRD84.PROD.OUTLOOK.COM (10.169.92.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Thu, 15 Mar 2018 14:51:06 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394]) by DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394%17]) with mapi id 15.20.0588.013; Thu, 15 Mar 2018 14:51:06 +0000 From: "Kani, Toshi" To: "bp@suse.de" , "tglx@linutronix.de" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "catalin.marinas@arm.com" , "mingo@redhat.com" , "Hocko, Michal" , "cpandya@codeaurora.org" CC: "linux-kernel@vger.kernel.org" , "willy@infradead.org" , "linux-mm@kvack.org" , "guohanjun@huawei.com" , "wxf.wang@hisilicon.com" , "stable@vger.kernel.org" , "x86@kernel.org" , "will.deacon@arm.com" , "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/9GXlGHy7daPQ6ewAgAB4qQA= Date: Thu, 15 Mar 2018 14:51:06 +0000 Message-ID: <1521125462.2693.154.camel@hpe.com> References: <20180314180155.19492-1-toshi.kani@hpe.com> <20180314180155.19492-3-toshi.kani@hpe.com> <14cb9fdf-25de-6519-2200-43f585b64cdd@codeaurora.org> In-Reply-To: <14cb9fdf-25de-6519-2200-43f585b64cdd@codeaurora.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.147.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DF4PR8401MB1145;6:8+UUQsUcy3ACopo/RyL0QN+A+7WrHLqriv+xsS198RoYhbefFlMNVCadh2kbD0hLe6La3RRvDnYOFQ6UuCpGgxgHMoKAE9tNo8HN6PfTdGHqMuTqXO30aGFL11VqYvtgGgBOy98IfEGDV06Yp/OPsFuVTpOkdQIisJguRo7spaSx+6IyXYft+DGQtb6I3pWJdml8F8N9D8174El0+wzIPz8Y/HPL2CcT4gapFGpaFIi0qGHjYlOCc97KBe89xcntVftc3l51cuHP730lKRUov0uRxZmZGWjsBtmkPEg+AUf6HS+EAcKnxYvc9r+RgkLuG1BIYtEssoVjYhT844pVsFaTMZfnNuvB1ueKs21fNCkiIILrDsHp3E3AJDGaINNR;5:eaB7ZX71251CuWWkN0WwqsfoknQYAIPmTPcLr/ur+zEw2/dBfh1NKtchx8Mcb30YRoYYkXv57Ixb4RINq3n/QNQLDAqdQIgWD+XTGkyo8w63I2DrTKCZBSxUjFL1Cf++DG1l6MQvCFCH72Kv03yYY4KBT/JLFqLcG01xl58Wl/A=;24:xlDb+yC0Rc+0SKH91gLrN/qsnw0a2KQLcR8xUrGkwp6PiCMTUW3m0PwI8gGPtbhA3MsJVMJ/vAOlfo+JjAJBD6ISTdoSqj+khfX9u/eubZE=;7:rzRbGVu1qjVfQbqIWYwbx7y/MR2OLaFLHOezIuI+4PhcpL3r7uczTgdLh85l/7orVdE8s2sk8idPltuxHKzjiaXnPV972cf6iKe8NPbLkoM/7P1sm8Y7r+o20kDSf9InfMTXx5/lY5M3n2XQGHSDGu15oIVgCbO9AJLFbjs+NI7nCt9Xf8RlgedOGSZchfJdKKpHzLT48syhu6RVgXWYzQS9VFG3LAj/Oudr92AaVemGoBL+ZotY+08Jsyskkc2u x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 17e0faba-78be-4b40-9633-08d58a842e8d x-microsoft-antispam: UriScan:(222181515654134);BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020);SRVR:DF4PR8401MB1145; x-ms-traffictypediagnostic: DF4PR8401MB1145: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(9452136761055)(222181515654134); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011);SRVR:DF4PR8401MB1145;BCL:0;PCL:0;RULEID:;SRVR:DF4PR8401MB1145; x-forefront-prvs: 0612E553B4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(376002)(396003)(39380400002)(366004)(199004)(189003)(377424004)(3280700002)(105586002)(6506007)(26005)(2906002)(5660300001)(478600001)(14454004)(2501003)(53546011)(3660700001)(2201001)(102836004)(68736007)(3846002)(53936002)(86362001)(186003)(5250100002)(6246003)(76176011)(6116002)(7736002)(36756003)(106356001)(54906003)(6436002)(6486002)(25786009)(2950100002)(66066001)(4326008)(8936002)(81156014)(103116003)(110136005)(8676002)(6512007)(7416002)(305945005)(2900100001)(99286004)(97736004)(81166006)(229853002)(316002);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR8401MB1145;H:DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 66t+iUKJWkILYyMD3h/vGsA293nvAgHuSI8Fezf+gNr8opaW/YJ1F+2JrOEkIfKun+nHghzasHyqE9JWoUalg2ov+DaLnIws+WFcGpNFzXHpZWhH8BQC3BcreTWTFtPW1T/zR6EVP0d2xTvBBCbJNXwDHEC6ssnwKY2/etUq5jcYYmyC8i5TWrgNCgUV5BS2cVF6Db8lNecXNbVwKAHO0PmWXYKNNnTzxZNSu6V6l8c4THzmLlhGaQtjQ1j6p2onmKg9pNa+kSa4o1hEh4NwCtmAv/vKqAThKEG+i5MjDUUjA1Zw+y5DbFXCD6BU/4b2SfLlkpvwH27MzTMzLhz2aw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4B31960CADFB9D478D453187E9F7B27F@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 17e0faba-78be-4b40-9633-08d58a842e8d X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2018 14:51:06.3202 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1145 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTAzLTE1IGF0IDEzOjA5ICswNTMwLCBDaGludGFuIFBhbmR5YSB3cm90ZToN Cj4gDQo+IE9uIDMvMTQvMjAxOCAxMTozMSBQTSwgVG9zaGkgS2FuaSB3cm90ZToNCj4gPiBJbXBs ZW1lbnQgcHVkX2ZyZWVfc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