Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1232391imm; Fri, 14 Sep 2018 13:38:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZhGRsluwjez9M4xKnc3CXMpNkrvBl3jo6C8o/hE8nY0M4Q+Z+YwwnCm3OqI/M4uq6ZAt+W X-Received: by 2002:a63:5204:: with SMTP id g4-v6mr13284879pgb.274.1536957513504; Fri, 14 Sep 2018 13:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536957513; cv=none; d=google.com; s=arc-20160816; b=qHSsDDasFsYziYMuPYkiWf519lssclRrioX6/riLap5tLwFTZGsEx+QPSpZ14z6MTi MNg7RYIjNx3dz58+C6HfaBJzpeeSvbBEVWmyZMQiMnudCULKBSc+jf7EUwFBw9oNbFt4 zv8Pji/Aai65NGEsrYS5ul4v0P52BU+5YLqgZA78BmPqPIJTY6+u5RP34IYhA0j5H1od Ql6n87b+n36PUr2npvhFwzWVeYStcJjYyH4pauohSGjaB5Ucq5RWNGgIsLmPR/Ionb85 hTGgFTXFaSqmTH/tbSmnwK5X0d+CvbvgmMuqQqYbWDz8Y6jEHkcttCoR6DmsjK5EaMnn lQ/g== 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; bh=j5/5ZcfgVDRYignDxiWsi6pP5QdKZ2Egs4DfdxzZP+s=; b=QaNXsEPWBnWTtpMLYRblg86ymj8UFQ6pZhpfVsIfwnopZRMHNG/zEo4Jjio+H0uZ9G Rxn7sUhJj7BLuuumgmhG0BYjp+Syj5S8tn1gIXJvqMFlui3gAtGmWFQ1CmuKJqQtzRGY IeLf/Cq54I9S/4NOg1pVVnCCVpbSvfBsyLeU29TAKWW4b+SpltmNzQa2ux8Gw0/K9sg2 /V48dmm6O40Ans3qmgsqCnaSXiktXwSviDcqnyw1O927IB7PEskW0fdYR4wG6AjrnMIh Geb6I2ove1K7ajAdRvuLUej5vq+JCU0N2LuKLdHoubNZHb/dpLEjNcHRNnQ7VJ3ZQlUH wEeQ== 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 e3-v6si8405180plk.114.2018.09.14.13.38.18; Fri, 14 Sep 2018 13:38:33 -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 S1728183AbeIOBx4 (ORCPT + 99 others); Fri, 14 Sep 2018 21:53:56 -0400 Received: from g2t2352.austin.hpe.com ([15.233.44.25]:29205 "EHLO g2t2352.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727095AbeIOBx4 (ORCPT ); Fri, 14 Sep 2018 21:53:56 -0400 Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2352.austin.hpe.com (Postfix) with ESMTPS id 354DDB9; Fri, 14 Sep 2018 20:37:50 +0000 (UTC) Received: from G9W8670.americas.hpqcorp.net (16.220.49.29) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 14 Sep 2018 20:37:50 +0000 Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G9W8670.americas.hpqcorp.net (16.220.49.29) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 14 Sep 2018 20:37:49 +0000 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (15.241.52.13) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 14 Sep 2018 20:37:49 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM (10.169.8.22) by AT5PR8401MB0898.NAMPRD84.PROD.OUTLOOK.COM (10.169.6.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.15; Fri, 14 Sep 2018 20:37:48 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ac4f:ac06:14f9:d283]) by AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ac4f:ac06:14f9:d283%2]) with mapi id 15.20.1143.014; Fri, 14 Sep 2018 20:37:48 +0000 From: "Kani, Toshi" To: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "will.deacon@arm.com" CC: "tglx@linutronix.de" , "cpandya@codeaurora.org" , "Hocko, Michal" , "akpm@linux-foundation.org" Subject: Re: [PATCH 3/5] x86: pgtable: Drop pXd_none() checks from pXd_free_pYd_table() Thread-Topic: [PATCH 3/5] x86: pgtable: Drop pXd_none() checks from pXd_free_pYd_table() Thread-Index: AQHUSoMTsCmedJ847kC065sH/qNN66TwQJAA Date: Fri, 14 Sep 2018 20:37:48 +0000 Message-ID: References: <1536747974-25875-1-git-send-email-will.deacon@arm.com> <1536747974-25875-4-git-send-email-will.deacon@arm.com> In-Reply-To: <1536747974-25875-4-git-send-email-will.deacon@arm.com> 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;AT5PR8401MB0898;6:5T+UxHyEwcAHF09LT/H0bmRgsAeR5ryggm+iKPOvXMaFeSt7mg2DosgG28BBGPKcKmYa5rCzzu+dVV18CjYWSauadQeel2k+ehPMk1luuqNmXrd9LViBohQHm6oBmCYg6KhBhBP7VOHKPrNjjyew1c+wYS8vhocjepNNBy4UhCdYYnDZcxCHsYA0USpPHjUcp0SHEZhwfzvE/+Jdc21AzMioOeAOdmNTgS92dSvsdM8VcC3lBEcKVUrsyhGhBARHMu6tTao9UCBjWrt7yxzhzRhlIboK9kkjVeYH5N/gS4dmBBuvNJU4kr2SYzTuwPO9772eRd7Jhq+Al61vNBNIgxXnaoyieuzpFdn2iD5XoWDIn7XD/vTUjuYMR37R3JiwwMAg3/WQBfp/GZWePfgKXgwb5cza4Zp6kRLPh4KOIWhpGzP1x52W7gBYJr2g2shzBX7zUKzrcSwBtkZBJj1XXg==;5:eyYv9FXaGDm8HpiOvZKyi0bV7IsZhlLbJPYYF7qoYrI0NphzZWVxTjQx4co9G3/xC/OXw0/jUJCmGZWQLI/y+8ww+8Tzq6h5OQukiIp2C6ldIV6SLN+TaFSzyS5sXUcmqapGp9lGA0pMDkRLV/3KsTV51sR8W9cA1AQZZWerKDw=;7:IBONwmzFaDWeLyrrCxXUboVtkrumqMYvYn1izQHS8hjFiU63uMeeWPrLdrcBGpQlY2R6BorF7Cdt+hQGKCMrLgPZqoP9kyF/HEXEswwmwrVSbj2d2x8H5Or2uDeQ9pjStuGJDDTo1pkYLLmFVS8RLLRjBYtmHW6yZ0T/K/O9k5HTRmAdNI5j5hdgnwPsN7QqiBdBqh5BHjTMMM9YAqYQzfp23zdlOzxzAAwotnmVoXjY8Fn86Y2vd1up2LOHmdbp x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 72553b4b-7945-4a18-bebc-08d61a81eee3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AT5PR8401MB0898; x-ms-traffictypediagnostic: AT5PR8401MB0898: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(180628864354917)(222181515654134); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);SRVR:AT5PR8401MB0898;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB0898; x-forefront-prvs: 07954CC105 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(396003)(376002)(136003)(346002)(199004)(189003)(57704003)(105586002)(316002)(68736007)(118296001)(2616005)(14454004)(446003)(97736004)(6116002)(11346002)(2906002)(25786009)(106356001)(3846002)(6436002)(6512007)(4326008)(6486002)(6246003)(53936002)(229853002)(478600001)(2900100001)(2501003)(486006)(5250100002)(8936002)(6506007)(66066001)(102836004)(36756003)(256004)(8676002)(81166006)(2201001)(81156014)(76176011)(7736002)(5660300001)(110136005)(86362001)(305945005)(476003)(99286004)(54906003)(186003)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB0898;H:AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /pvEt+uGwMfjPHxgDPDwxM4aakvosS7g/EeSqJMgtiiyJN5QqfC6fv+664yHqfwZrzRwP7q2Af+IpwgY39miSPuKKWLGPtRp28HFZ6BtzDjikQ10Dy7jSaqa0Ui7lNcY6LEqwP++3mCwRFi0wwV03ZJQNXwiCUbyg0G01hapc7VkdrsqI6PX25quVfd/IHA2oWNexmMpm8jRT7BneT5M9YY8oGXgNJI/qkkzhbPloK28fK4/ExaHvP7NZBB3jRP01CY2N03LKw9yJ+VD1ZUXjSNIUuETadnzW4ku47Sbblf8u+B9FOwjMpY2SIYleujXYicLIamz36WvTpDCmlI51daCHaEqjbQW1OxPtpKCz/s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 72553b4b-7945-4a18-bebc-08d61a81eee3 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2018 20:37:48.0249 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB0898 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTA5LTEyIGF0IDExOjI2ICswMTAwLCBXaWxsIERlYWNvbiB3cm90ZToNCj4g Tm93IHRoYXQgdGhlIGNvcmUgY29kZSBjaGVja3MgdGhpcyBmb3IgdXMsIHdlIGRvbid0IG5lZWQg dG8gZG8gaXQgaW4gdGhlDQo+IGJhY2tlbmQuDQo+IA0KPiBDYzogQ2hpbnRhbiBQYW5keWEgPGNw YW5keWFAY29kZWF1cm9yYS5vcmc+DQo+IENjOiBUb3NoaSBLYW5pIDx0b3NoaS5rYW5pQGhwZS5j b20+DQo+IENjOiBUaG9tYXMgR2xlaXhuZXIgPHRnbHhAbGludXRyb25peC5kZT4NCj4gQ2M6IE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