Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp164016imm; Fri, 21 Sep 2018 12:07:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY2dExlerbs/jpXhZJrGs8QM8vkHiJ3guBDVqATvTcX4liiri736nVxZ1HZcwmxl5gXQldJ X-Received: by 2002:a63:3152:: with SMTP id x79-v6mr4227192pgx.323.1537556875972; Fri, 21 Sep 2018 12:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537556875; cv=none; d=google.com; s=arc-20160816; b=b3CV/5AYsYb5VshP/Y5uypSgPeNHkyCa3t2OxvrofO24tqMAvdEpQa5AW5N5ecPPKN NjDh4pT+hm7onwX5Zvr8b/RUGnyT7TBQUVihoLC6H3XAVr4uBYm0rmr7ppd3pU3Ypcya 5IfHKg8++dAd2vv/XExYvy3y73FAnK931DVL5OSkJfUVXWn9FcYtflXY4VsuEj+LwWMI i6V/OPtPC4pTvZYxXoOXLEvwZ1AN0i2g9eakR9yFw3cCrpQr3Lk+gken76OalLcEQyBO MwVxveaelr3yeMEJ7A0UCmuDqQeJWqEgOvsO7e2lqN7Kwu2UARholVKSZpBAfwVSzH2Y L2+Q== 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:dkim-signature; bh=9pOCgFUISleO1LffKEYdS05I6xLDvo83PJDAQTp7XxE=; b=VRmt3BBgHy10B88KQC5pt9IbRw7gxXPWOuPrWNTviJJ+pkElOI7LVALBHqLe6z3EdF usBAE5vZNGglA4DbLdfPsHSY8fPibhoXsFz4DsKVMYtzWdyB8rnL4Nl4wqGqH1+X3XaG uBXgFF3hKYbkZ3gcYUZ3+kpR2UBpdaZ16nu+EOY6cRTS4Uk04u1q3Yrwq+m4CRXu9eoK oD2FyRIyPN0oBiP10/7JBNcjh2wzxdSsFPobonS8MRoFVkEhH8fhdFpr0JnI/dYx+/+9 2K87dMcEBaP2/2EJHgVCzwl56q/zYiE1GUAPEFTwEqxycw+ZMEl4C7/PbFIcM+fxseeR srqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=E8mWEPL6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i126-v6si28197726pgd.332.2018.09.21.12.07.39; Fri, 21 Sep 2018 12:07:55 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=E8mWEPL6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391333AbeIVA4q (ORCPT + 99 others); Fri, 21 Sep 2018 20:56:46 -0400 Received: from mail-eopbgr720138.outbound.protection.outlook.com ([40.107.72.138]:35910 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728456AbeIVA4p (ORCPT ); Fri, 21 Sep 2018 20:56:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9pOCgFUISleO1LffKEYdS05I6xLDvo83PJDAQTp7XxE=; b=E8mWEPL6x8LqqGKNjbgi+kslzpyAy/PRVDNGOqXkjwe63X0oJTQkQeqYdC3ARWpc9QNtuGUGT8xbR9FchkJE9z41yCug7ylHQYXQJRPDTksdS4tvDDSTzXg+HQaSGbCY40sXYdX9ISG9NuskLNS8K1EPqU5OZV9U2DxoZWBjdrM= Received: from DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) by DM5PR21MB0635.namprd21.prod.outlook.com (10.175.111.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.12; Fri, 21 Sep 2018 19:06:30 +0000 Received: from DM5PR21MB0508.namprd21.prod.outlook.com ([fe80::88e6:fdc:1d8e:71f5]) by DM5PR21MB0508.namprd21.prod.outlook.com ([fe80::88e6:fdc:1d8e:71f5%4]) with mapi id 15.20.1185.010; Fri, 21 Sep 2018 19:06:30 +0000 From: Pasha Tatashin To: Alexander Duyck , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-nvdimm@lists.01.org" CC: "mhocko@suse.com" , "dave.jiang@intel.com" , "mingo@kernel.org" , "dave.hansen@intel.com" , "jglisse@redhat.com" , "akpm@linux-foundation.org" , "logang@deltatee.com" , "dan.j.williams@intel.com" , "kirill.shutemov@linux.intel.com" Subject: Re: [PATCH v4 2/5] mm: Create non-atomic version of SetPageReserved for init use Thread-Topic: [PATCH v4 2/5] mm: Create non-atomic version of SetPageReserved for init use Thread-Index: AQHUUTEv94BrDMQoPUO+UY9dTgyn8KT7GgMA Date: Fri, 21 Sep 2018 19:06:30 +0000 Message-ID: References: <20180920215824.19464.8884.stgit@localhost.localdomain> <20180920222641.19464.75787.stgit@localhost.localdomain> In-Reply-To: <20180920222641.19464.75787.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [137.117.57.82] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR21MB0635;6:A9zIHG5VNHnY9gkJrOzahDBWp4LDb5+psmvoUWSPN/5zf1l7lJis1PXyfcngCITtOC0wHLNEspVFH/y8LHOjIpZZ7+GD/R9uUdcrNhPXDAH0c9ZJI6ta+XgXPSmKDXBAf/nqkgszrp4nvnXcUXPc4QAfIYW8ZoqyAShSRscQ+QYnqTSUtm+2IZtT/B61YYrNM4Y8iQhdqWd7zpdSe09ZuRp9rwlxXyaR2LOEBQaAvLTT5gBEuX3LvvKKs97Lfc0ig5YZADR1ye2zm3n3kSCcsS8SDoyglnydUW9DN3FLyCuKLEyuHt2qGQNdDDFpAQWVuNz2uGlTaNwWGMGasyeJMHWWZHHFqLas3U5qPOfmEsjM2OKw/SnkakXeryeuDIqJc9vBG2qp+TzY4STKMb7pOYYX0i5QXp3TwdP5Jem6o6exj7SeFH7e6oBSKeF5z5IOAifQdFVBzjO/tVjbfvHN1g==;5:6yLOJV69x2QMHzxfo3H0isPM+HMu0RYKrKzdcDuGrOmg5k53S+kf7L3PD/QgcQAU2FaJYevek19n+ziA8tmHZeBDIfWUjqmFReDpSVzvsQa/DsG6pK+SOlJPYw271R/nbiwyNSXMTrIM08tBMpJ35T7lj6thDdSr5kT+Am8ms3k=;7:QvdLvLwnk+naOKdX/TrwkX0OsjdEu6xHshYCCZnvA7V1bPPm06ptO8Ythl38CxUTI4O3C/JcvxDnWj5ZXS9N+yahElxnbffA1fi3vst5VjQ+MxGeszrjiRnL6Szp2u43eyY6gErtIdWTlfDc8KDRxudJt2X1JldM15oHMYW3PmOwDSTv3AOqWsGi3iskS/A7bytRyr6YWsUaLVw5ZdlmqfNXfyhmOag2dfB86fWkqg19fO32J9Osyy6IYTOZ8vzu x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: d19c4369-764c-46cc-eea3-08d61ff556b3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:DM5PR21MB0635; x-ms-traffictypediagnostic: DM5PR21MB0635: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(209352067349851)(228905959029699)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(3002001)(6055026)(149050)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991041);SRVR:DM5PR21MB0635;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0635; x-forefront-prvs: 0802ADD973 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(136003)(346002)(396003)(376002)(366004)(189003)(199004)(4326008)(105586002)(106356001)(186003)(22452003)(6346003)(102836004)(31686004)(110136005)(26005)(54906003)(316002)(2900100001)(8936002)(7416002)(53936002)(68736007)(2906002)(7736002)(81156014)(81166006)(36756003)(305945005)(66066001)(53546011)(6436002)(6512007)(229853002)(72206003)(6486002)(8676002)(5660300001)(99286004)(486006)(6246003)(97736004)(476003)(11346002)(14444005)(256004)(3846002)(6116002)(478600001)(2501003)(2616005)(76176011)(5250100002)(31696002)(86612001)(86362001)(2201001)(446003)(25786009)(6506007)(14454004)(10090500001)(71200400001)(10290500003)(71190400001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0635;H:DM5PR21MB0508.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Pavel.Tatashin@microsoft.com; x-microsoft-antispam-message-info: LE4li78WmU6W1ESIADN55VWgwCeaP8DZHjslXYGZ3uSCKNsAMPpx8MBYjwgMQ/ykMHzQg4YGMglsgh/UWiBECMXeeQeW5VOkKtFbMU7Uan4ByHBAcDJMIhq6fwLn6BcYkP7auaImixrgNa8NJJsEeGc8ZuW+3puw9t9fq20SXj5g0cdLhzRuiKdrbjIhhyvYtqrb2tB3ncFh6wgS4ZrYGQ63S6byhr9yQu/njDxl0luOeSWDLM1fmPoUyOFD2jXF9qG8eIQyfPWNYmI2V0fVRLDfv8hNvrWitByIwcd01lQWfjwb/YTmyxeUQJQM87oXkI4NmkgTT+K0oeVkv6Yx+fX9LWztBJfo9qOsH9goExE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d19c4369-764c-46cc-eea3-08d61ff556b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2018 19:06:30.0654 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0635 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDkvMjAvMTggNjoyNyBQTSwgQWxleGFuZGVyIER1eWNrIHdyb3RlOg0KPiBJdCBkb2Vz bid0IG1ha2UgbXVjaCBzZW5zZSB0byB1c2UgdGhlIGF0b21pYyBTZXRQYWdlUmVzZXJ2ZWQgYXQg aW5pdCB0aW1lDQo+IHdoZW4gd2UgYXJlIHVzaW5nIG1lbXNldCB0byBjbGVhciB0aGUgbWVtb3J5 IGFuZCBtYW5pcHVsYXRpbmcgdGhlIHBhZ2UNCj4gZmxhZ3MgdmlhIHNpbXBsZSAiJj0iIGFuZCAi fD0iIG9wZXJhdGlvbnMgaW4gX19p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