Received: by 10.223.185.116 with SMTP id b49csp5613079wrg; Wed, 7 Mar 2018 15:04:23 -0800 (PST) X-Google-Smtp-Source: AG47ELs/zo8yuMNYpFHSFExM5zcEJVHBXR8AO9CKnbXvXnnwWnwBYsD+64dLQaumHhdPFVh5wWFr X-Received: by 10.98.93.87 with SMTP id r84mr24267142pfb.131.1520463863432; Wed, 07 Mar 2018 15:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520463863; cv=none; d=google.com; s=arc-20160816; b=nl+jjkAW13m2/Z259oWynmwmG3lWUoEF94RAKf9rdfAET0UW3KA1nzSb0KCMKLMBV1 bx6T22rYz2y534uCpxxS4raorVS9oIKqYseVMNsb434mr5nNndKRhQ6+6nUsM2pA8zwC zvnpN4kMd0rWH7eqAPmUZoIeCXe+z8ctdWNmcXcnltYphfX36NGs3+sgyBTXm2NqDYxX ilIfRvAJlawLBe26/JlQbTBTDouUnalOamN4M4ANptc2/tAFoiDHLFcMLYBtidg5NL8T iU6G2OweEpyVjQXhLa5dWRiIt0njlFnznHzYSpxaxqritizVWjcEpv7x+8ZBHP9XXAC5 UW3g== 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=RDVT/Tn5XRn6rSWd/FXzeQROYNRRElIIxxiy7vFaFzU=; b=enaM/gLFRDBusu3krghGWh0ejoJg9UjVaP+2YauMiqbosozdzv5D2hwrcYhHNRikPj ELhXPOk7LGc3+3io/rW2UmIF0dnrT+MB0qY0I4cRCcU+p1ch8Lrz5Uh9jTiF5vokupjG FkCNBY1dqZb1kS3Eg1AMbyvlXmVVRM3mCa8U2JkKS9GVcRX2/8xei/P3xKFkgFP4aKg/ gbmbobBrEx+kr48lRR5NsSJ+o3MAHdpFegT+UJPNpcDqQFYx09kAYkqV4H6wIaMcFvhh emRwCSiaODpZrPsKC/yKBk8biZ/xcxBH5eR6wbxcQLUsmJCKLntsQqcjJX8T16JTLOZm 2uwg== 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 f9si5218574pgt.584.2018.03.07.15.04.08; Wed, 07 Mar 2018 15:04:23 -0800 (PST) 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 S934395AbeCGXCU (ORCPT + 99 others); Wed, 7 Mar 2018 18:02:20 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:47472 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934303AbeCGXCS (ORCPT ); Wed, 7 Mar 2018 18:02:18 -0500 Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id B793660665 for ; Wed, 7 Mar 2018 23:02:17 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (g9w8454.houston.hp.com [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id 8833FC4; Wed, 7 Mar 2018 23:02:16 +0000 (UTC) Received: from G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 7 Mar 2018 23:02:16 +0000 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (15.241.52.11) by G9W8453.americas.hpqcorp.net (16.216.160.211) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 7 Mar 2018 23:02:16 +0000 Received: from AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM (10.169.9.143) by AT5PR8401MB1091.NAMPRD84.PROD.OUTLOOK.COM (10.169.8.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Wed, 7 Mar 2018 23:02:13 +0000 Received: from AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4507:b23:c0d1:c9cc]) by AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4507:b23:c0d1:c9cc%2]) with mapi id 15.20.0567.012; Wed, 7 Mar 2018 23:02:13 +0000 From: "Kani, Toshi" To: "akpm@linux-foundation.org" CC: "linux-kernel@vger.kernel.org" , "bp@suse.de" , "tglx@linutronix.de" , "guohanjun@huawei.com" , "wxf.wang@hisilicon.com" , "linux-mm@kvack.org" , "x86@kernel.org" , "hpa@zytor.com" , "will.deacon@arm.com" , "catalin.marinas@arm.com" , "mingo@redhat.com" , "Hocko, Michal" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 1/2] mm/vmalloc: Add interfaces to free unused page table Thread-Topic: [PATCH 1/2] mm/vmalloc: Add interfaces to free unused page table Thread-Index: AQHTtjxt4t52sdgOE0CgfWgnpWKg2aPFYiQAgAAOmYA= Date: Wed, 7 Mar 2018 23:02:12 +0000 Message-ID: <1520466429.2693.43.camel@hpe.com> References: <20180307183227.17983-1-toshi.kani@hpe.com> <20180307183227.17983-2-toshi.kani@hpe.com> <20180307145454.d3df4bed6d6431c52bcf271e@linux-foundation.org> In-Reply-To: <20180307145454.d3df4bed6d6431c52bcf271e@linux-foundation.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.203.227.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AT5PR8401MB1091;7:s1FqF8UZO1qrnnJFZ2mr72K2tzrylKHknoc/6F84B3pNvXcSawBz5gctmIti+GRLQtHkrJjIZzKe0oId42T8H4aIrecrTAojjpqXxVhNrY4eLn56oD1UGeI3RSRlMprvKREO3GFMEh/gOM8XK9wuXsU4sZx59mKsRAZ//hhVq/29PAK4VEAaGHlFNX0VCz2GggPa19JOCdDoejPlQU08dd6kDJXboMKwLFo5fFrZiuYondGZdnYS6Gf70JW7k/q5 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bb81cf8a-9e93-4138-8ee8-08d5847f76c9 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:AT5PR8401MB1091; x-ms-traffictypediagnostic: AT5PR8401MB1091: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(222181515654134); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:AT5PR8401MB1091;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB1091; x-forefront-prvs: 0604AFA86B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(346002)(376002)(39860400002)(396003)(366004)(377424004)(189003)(199004)(8676002)(81166006)(5640700003)(2906002)(2900100001)(14454004)(5250100002)(36756003)(54906003)(53936002)(3280700002)(2501003)(106356001)(6246003)(2351001)(3660700001)(7416002)(103116003)(25786009)(6512007)(305945005)(5660300001)(7736002)(6116002)(1730700003)(4326008)(6486002)(81156014)(3846002)(66066001)(6436002)(8936002)(102836004)(316002)(6506007)(68736007)(6916009)(76176011)(2950100002)(186003)(26005)(478600001)(97736004)(86362001)(99286004)(59450400001)(229853002)(105586002);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB1091;H:AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Wez6cZMqUzdiogLdf2kdc5eUaZxYMjOgrsVCzfx7Re26OE540S1aUf4Lvxo6umbJn0TRnfow0AvYICXl/4zq3IwQgJZhfnQn8JWvIhR2s+pXMPpm5ex6VCDyNERwcnP/l/iNQ0RI7rApIfZqd4Kgp15u40JyUmlAOGfx67Ta+IiCzgx4MZLvwA547VEKtZO1gKTcJoZlDHJlPTUme3KSh0xsU0p5er7RvITgAcrfMV9dbRkM95Fy0MJT+HYSm/gvD0YO4RlpIISQATRixjPkWUOG6IpZwUL+QacjJ6aRjvHwEJYDQQEkJYwNArojK18Fn/gepHEvCBWkKvZh6n1Lzw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <485C8B4D88DC1740BFEF56BD935DAF5C@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: bb81cf8a-9e93-4138-8ee8-08d5847f76c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2018 23:02:13.0085 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1091 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTAzLTA3IGF0IDE0OjU0IC0wODAwLCBBbmRyZXcgTW9ydG9uIHdyb3RlOg0K PiBPbiBXZWQsICA3IE1hciAyMDE4IDExOjMyOjI2IC0wNzAwIFRvc2hpIEthbmkgPHRvc2hpLmth bmlAaHBlLmNvbT4gd3JvdGU6DQo+IA0KPiA+IE9uIGFyY2hpdGVjdHVyZXMgd2l0aCBDT05GSUdf SEFWRV9BUkNIX0hVR0VfVk1BUCBzZXQsIGlvcmVtYXAoKQ0KPiA+IG1heSBjcmVhdGUgcHVkL3Bt ZCBtYXBwaW5ncy4gIEtlcm5lbCBwYW5pYyB3YXMgb2JzZXJ2ZWQgb24gYXJtNjQNCj4gPiBzeXN0 ZW1zIHdpdGggQ29ydGV4LUE3NSBpbiB0aGUgZm9sbG93aW5nIHN0ZXBzIGFzIGRlc2NyaWJlZCBi eQ0KPiA+IEhhbmp1biBHdW8uDQo+ID4gDQo+ID4gMS4gaW9yZW1hcCBhIDRLIHNpemUsIHZhbGlk IHBhZ2UgdGFibGUgd2lsbCBidWlsZCwNCj4gPiAyLiBpb3VubWFwIGl0LCBwdGUwIHdpbGwgc2V0 IHRvIDA7DQo+ID4gMy4gaW9yZW1hcCB0aGUgc2FtZSBhZGRyZXNzIHdpdGggMk0gc2l6ZSwgcGdk L3BtZCBpcyB1bmNoYW5nZWQsDQo+ID4gICAgdGhlbiBzZXQgdGhlIGEgbmV3IHZhbHVlIGZvciBw bWQ7DQo+ID4gNC4gcHRlMCBpcy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