Received: by 10.192.165.148 with SMTP id m20csp2341250imm; Thu, 26 Apr 2018 09:23:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ljSbkGilRy0C6Faa8K+BrvhjYRiYo/I1X0ef9PYkK5UXrd5sA7sO5AEY827MDoqnHqlj0 X-Received: by 2002:a17:902:6b03:: with SMTP id o3-v6mr34138218plk.213.1524759802645; Thu, 26 Apr 2018 09:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524759802; cv=none; d=google.com; s=arc-20160816; b=qrzAh9nKJV6gI8xEz6mhyL6bPsCUw/F04zzFMS94kJrq5qVEVOag2mfyYld2GdG+Ue Uq921Yu0X4fD72e3v+pgQveU1QOk+wU011I6fIEJZRJOczJWVqUifxMncc6it2kdWyIF a9GrKTVU8LM0jhCWBsuMlOb4SfkGYfd439dcxtqMJp2ap4pSjPMVX2zP/yGyueXOT4qi GsbrDjazQdOpY7DcVYgv32hcNld8MRMtv8ktrX+aaTz8q6Jx7IDSOv/qi+1Ke41ts1fq PmynwHPqpcgU7mPNhH1k1Q4FyzKZt1w2t9zfkUSRg+a3b/dwo6GulCCsFXQ/m9NRnrEy 6QMQ== 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=Cs+m1HVUy/S1B/Rdw+fKlGB/gNS5Ln4uqWahDLKr+U8=; b=Vmnv3BHKGhsKvonvGfGSxPeO6fjOphoKHerR8PvqLJmZuXksnaRGrg19uSmzxkDHIZ gLUdohG06xYPgJTtJehcamwfFwASbpV3AeIRCQFTRTRhmgpxNl+zqXB5GKCRFJma6kv5 hcWDB6FleXHiE+vJKIrCsrSUkzwc2WWZEIhN6SMyzsJoP33qXgUtq8g6l1RKGaP6ojQj X7eWidTpDjDLyTALy6jTdEKReejzzTNS0Qzkfcef62UAHMIe7jjry7vrR2WfwNZThykG 9qMySJ+FkG/SCvIIjv7G5zmk34sxKGZIp2yfQFCyhCvHyyhhSjfGlsWqieM1AXvf1sZ4 1uXw== 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 x133si12391702pfd.124.2018.04.26.09.23.08; Thu, 26 Apr 2018 09:23:22 -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 S1756956AbeDZQVa (ORCPT + 99 others); Thu, 26 Apr 2018 12:21:30 -0400 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:31935 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756750AbeDZQVZ (ORCPT ); Thu, 26 Apr 2018 12:21:25 -0400 Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id 09E6A606B3; Thu, 26 Apr 2018 16:21:25 +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 g2t2354.austin.hpe.com (Postfix) with ESMTPS id F3BBCCF; Thu, 26 Apr 2018 16:21:21 +0000 (UTC) Received: from G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 26 Apr 2018 16:21:22 +0000 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (15.241.52.12) by G9W8455.americas.hpqcorp.net (16.216.161.94) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Thu, 26 Apr 2018 16:21:21 +0000 Received: from AT5PR8401MB1121.NAMPRD84.PROD.OUTLOOK.COM (10.169.8.22) by AT5PR8401MB0532.NAMPRD84.PROD.OUTLOOK.COM (10.169.4.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.18; Thu, 26 Apr 2018 16:21:19 +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; Thu, 26 Apr 2018 16:21:19 +0000 From: "Kani, Toshi" To: "joro@8bytes.org" CC: "linux-kernel@vger.kernel.org" , "bp@suse.de" , "tglx@linutronix.de" , "guohanjun@huawei.com" , "willy@infradead.org" , "wxf.wang@hisilicon.com" , "stable@vger.kernel.org" , "linux-mm@kvack.org" , "x86@kernel.org" , "akpm@linux-foundation.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/9GXlGHy7daQTW6wAgAAh0oA= Date: Thu, 26 Apr 2018 16:21:19 +0000 Message-ID: <1524759629.2693.465.camel@hpe.com> References: <20180314180155.19492-1-toshi.kani@hpe.com> <20180314180155.19492-3-toshi.kani@hpe.com> <20180426141926.GN15462@8bytes.org> In-Reply-To: <20180426141926.GN15462@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.147.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AT5PR8401MB0532;7:oY62O00fviAKUy5X8pehvOX4TxxIiGW023p4SOVhQruwPvniIVM4a7dTEAaal6QetsiMMdWTO6ar01nzq1X4YvFdWZbK0oIPtxEaRb53UZ6rF/R9VkQDgk2Q7VgrRoaMkJE/KFW4OR0IU6kMhA/S++XwwnOzqzBZpC7pkb0zdkR9CBzV6uhM3EHv5JcrpMT9uaiH61tCRWPg+yY4Yugz4DEckqjRhEjhlOd1RzA5MtsCtGywC8OfGUap7XyHZEzw 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)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020);SRVR:AT5PR8401MB0532; x-ms-traffictypediagnostic: AT5PR8401MB0532: 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)(8121501046)(5005006)(93006095)(93001095)(3231232)(944501410)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011);SRVR:AT5PR8401MB0532;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB0532; x-forefront-prvs: 0654257CF5 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(39380400002)(376002)(39860400002)(396003)(377424004)(189003)(199004)(99286004)(2501003)(6512007)(229853002)(103116003)(5250100002)(2351001)(6246003)(3280700002)(3660700001)(6436002)(54906003)(476003)(3846002)(2906002)(486006)(86362001)(97736004)(5640700003)(68736007)(2616005)(478600001)(2900100001)(6116002)(11346002)(14454004)(446003)(7416002)(76176011)(53936002)(5660300001)(6916009)(305945005)(6506007)(105586002)(26005)(106356001)(6486002)(36756003)(4326008)(7736002)(8936002)(316002)(102836004)(25786009)(186003)(81156014)(66066001)(1730700003)(81166006)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB0532;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: jaAmclr4l91cSvV0xPqZQ8neegKn7bfPiejrjTqw00V47MOdF7rt6OQSlYdhoK/YdSN08vOjYRnfu6fONC8v/vE8faDv62r9COSf+pM9kNGFO78eTNTXmsmLY0NdLdPIWwwdoWb8CCCqo8w2dNc9AvEIrPXhv8czwVTPTghQK6R+3wtPEO4ob+pwx1mFn0kf spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d87ddf17-6662-4d44-9574-08d5ab91be75 X-MS-Exchange-CrossTenant-Network-Message-Id: d87ddf17-6662-4d44-9574-08d5ab91be75 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2018 16:21:19.5546 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB0532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