Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp819711imm; Tue, 15 May 2018 09:36:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoBeZia/bPlpVir5QoO/oRLQ5XrxAnclZZpHicM+h0XRLtjYKwVQZeKorWQjdd2JSK4Kyoz X-Received: by 2002:a62:8b07:: with SMTP id j7-v6mr15784080pfe.28.1526402202463; Tue, 15 May 2018 09:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526402202; cv=none; d=google.com; s=arc-20160816; b=H6JdG8GpoPG/UzGiUFLqEwcqN/ZMug+tOauV7MrpxDAyEHS50zNwsM/3hfRWNFq99i UYIFj1ChGsPOrGe7/A2L4J90aPjX8Knv5f2EY8K99dz50X9/31Q7WzENjd9SJOYPysyt aezuyYcRd8wR8Vkzh+kSHbXFUZ3sRnOPd84OibsZtBGPxQjYTVLtRCJTP6lvzOk5Ep8y Mirn1omxsFw0SFs9Uz6l7bjY5clLQXXa4zmWDm3fhqE6LkUy14qNvGlx2vTxgCzz6Z9N B89EfYlH/bMMkrtV5mYTx0qHRJ91jfPChIPnc8AqbK+Cu7vLDlOJXf7Pl2fLWhNf2gqp mZfg== 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=PHkHv3dQYXCaXYIZ+9R6/ZwXmfPsLvWfMK/BQ3Idr/c=; b=hGzDFiFFDQWrPyY68EIWsKL5bR7O7d6Jv7Kp7pDRPYiHO8ydGqptIe04zrQW2eLpjw IJj0e34daGLX6/srS5PKiNXC94dL0Po834sWwlybF7njn27LV8vD8OFh8/qrkLmMyCmU 7908AtjeOnJlYYRBpuBME0jJimhoVtJI1X+9oIH1qIXPm591U2bDILVZuMVSnw0tVWHJ klzfDLnhHDyjxHnp7kyuJB7hGc+Y4eC/XoG6+yi7Hy2tWoBjF1qX322OzsgeuN9luj6j q3XakTBb9FhwUodlcQSKWQ4Kia3YfWsm87xGwZPZ2SlqbPEXjveraHRbI4rIJ0kBthyq TSOA== 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 z25-v6si290453pge.483.2018.05.15.09.36.27; Tue, 15 May 2018 09:36:42 -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 S1753700AbeEOQec (ORCPT + 99 others); Tue, 15 May 2018 12:34:32 -0400 Received: from g2t2353.austin.hpe.com ([15.233.44.26]:19338 "EHLO g2t2353.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbeEOQe2 (ORCPT ); Tue, 15 May 2018 12:34:28 -0400 Received: from G9W8455.americas.hpqcorp.net (g9w8455.houston.hp.com [16.216.161.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 6B6EF77; Tue, 15 May 2018 16:34:26 +0000 (UTC) Received: from G2W6310.americas.hpqcorp.net (2002:10c5:4034::10c5:4034) by G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 15 May 2018 16:34:26 +0000 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (15.241.52.10) by G2W6310.americas.hpqcorp.net (16.197.64.52) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Tue, 15 May 2018 16:34:26 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM (10.169.8.22) by AT5PR8401MB1268.NAMPRD84.PROD.OUTLOOK.COM (10.169.9.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Tue, 15 May 2018 16:34:24 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c0c0:698c:e7b3:3238]) by AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c0c0:698c:e7b3:3238%6]) with mapi id 15.20.0776.010; Tue, 15 May 2018 16:34:24 +0000 From: "Kani, Toshi" To: "joro@8bytes.org" CC: "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "linux-mm@kvack.org" , "stable@vger.kernel.org" , "x86@kernel.org" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "mingo@redhat.com" , "Hocko, Michal" , "cpandya@codeaurora.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 2/3] x86/mm: add TLB purge to free pmd/pte page interfaces Thread-Topic: [PATCH 2/3] x86/mm: add TLB purge to free pmd/pte page interfaces Thread-Index: AQHT4K0zgm5y8x8aI0ixjt8+V5QJuaQw6kyAgAApL4A= Date: Tue, 15 May 2018 16:34:24 +0000 Message-ID: <1526401993.2693.605.camel@hpe.com> References: <20180430175925.2657-1-toshi.kani@hpe.com> <20180430175925.2657-3-toshi.kani@hpe.com> <20180515140549.GE18595@8bytes.org> In-Reply-To: <20180515140549.GE18595@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.203.227.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AT5PR8401MB1268;7:Kgjf6nRbnBNn45wc5S812846sP8fgR7GAW9XcXPgO//uyr00Fzuqcg0hrpULvlA4VNcg8YC7TTDhPGfxq8bawyL9e34W5davfWWSzrAx9DphDId0z1HREcE+BymNRM1xi+eRLea1uUBEd96R+WNb7ba6JHbRDSZ9Ewxd5lHN5vi0f8DtXjIjZ1iE4iyDxKnA4To0uifKMf0/cRTXYNzJKd67380ym3H//YPsDJsA4pSY47+NTOdNS4aDEQHOFqzl 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)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(48565401081)(2017052603328)(7153060)(7193020);SRVR:AT5PR8401MB1268; x-ms-traffictypediagnostic: AT5PR8401MB1268: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:AT5PR8401MB1268;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB1268; x-forefront-prvs: 0673F5BE31 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(366004)(396003)(39380400002)(39860400002)(189003)(199004)(377424004)(26005)(6486002)(25786009)(305945005)(5640700003)(6436002)(59450400001)(6506007)(2900100001)(2501003)(7736002)(66066001)(102836004)(14454004)(11346002)(6246003)(97736004)(5250100002)(3280700002)(3660700001)(103116003)(6116002)(6916009)(53936002)(186003)(3846002)(446003)(229853002)(7416002)(99286004)(68736007)(86362001)(4326008)(8676002)(1730700003)(316002)(486006)(5660300001)(54906003)(8936002)(81156014)(81166006)(6512007)(478600001)(36756003)(106356001)(2351001)(2616005)(76176011)(2906002)(476003)(105586002);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB1268;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: oqCu+Gvi8cncIBYhV5N2nQy5S760UUzsyReH6Z7QCG7ageVg/iMcUEiDsY/KCRPv30iYX57RvMppyRXN/iQe1r+tMbeNpDHggBq071yFhO9YvqcLQDqdrGxTjmnwfuoZqwB//j4jzWPvlu+SauxfRgQ2T9xBudWpSrpOIRaovTIjZQ7AKIfUnsCrv64ltnv3 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <680043A3F4C61F41930C5FFC82921F1F@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: cc11d9e3-f9eb-4878-8d88-08d5ba81b7ef X-MS-Exchange-CrossTenant-Network-Message-Id: cc11d9e3-f9eb-4878-8d88-08d5ba81b7ef X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2018 16:34:24.1176 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1268 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE4LTA1LTE1IGF0IDE2OjA1ICswMjAwLCBKb2VyZyBSb2VkZWwgd3JvdGU6DQo+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