Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp16690imm; Thu, 20 Sep 2018 16:41:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZg5BV98v74NXx5CtWXgZN2l+KpyT2CWhpMDfOvCk2tPbis/9XHUEotrRzBMiOC47cfdk95 X-Received: by 2002:a63:4606:: with SMTP id t6-v6mr38639684pga.271.1537486918815; Thu, 20 Sep 2018 16:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537486918; cv=none; d=google.com; s=arc-20160816; b=ClKeTdxPAAmfPqaI5jFOBXQBR4DaAYEUqzZ8TznRYVBPxNF+BGay1R4xxSJnWABdq4 k7YVY5gy8dPYlgMEOe+LOieLZPulC2bzM/OVwH1PZ0YRsmaJRo6GfQEYyubQQAOw35/D kbMaXQ2diPhXDdcThdUQW41tD8qkSIGDLpTzZkoN/Z+4FfdnwXrcOZGtxw/1Azs5pARC 8u1+jOTMPfsMrUnBMDwFCWS8JDHluBtFgSFrhE7cNZ58WAZ8GHHX49HqLvPptOoJCeHs WTmOUsfJcd0q+azdIpK95EzAnPx6SvqYcsq2fgQKKjghjpJM38ICdJ16l6wCBil68Oi3 fOcw== 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=BKfhkEP0Bcr6c5P25NADuXUt0At86yiUGMZqXjgfDT4=; b=lan21nIWMJmjfREQ/NR6K2v1Dfkj+/WN3RQzD/Riud9MeMwwC1djUSsPhnxOwtaqsC pszMvYqYEF35LeDanFT6rtx1uiQ/BRNi53d5frjlUopx3JQBe6zv4hO9WaYA4YHigv+H EhhamJUCK668r5N18asURPDk6rvWxUUqEQLurgL1ZRJk6iE8UzVkC/bVO/9AxpRMFt5D MCVO4HbCqwEMHX18721HLENXUhjTfF6tOLTls1WllbrYOOMVMLyuf3KSEz/tbqVRxeXi y8a6yZAYEpyDc1L3UiJpmmJPjkbnw30IuK88iVLEq0PrO2l3eZVyKPAIZxUI8TzQ158K 6x6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=CZ41naqv; 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 l5-v6si25786353pgh.451.2018.09.20.16.41.42; Thu, 20 Sep 2018 16:41:58 -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=CZ41naqv; 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 S1727472AbeIUF1U (ORCPT + 99 others); Fri, 21 Sep 2018 01:27:20 -0400 Received: from mail-eopbgr690126.outbound.protection.outlook.com ([40.107.69.126]:35050 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725783AbeIUF1U (ORCPT ); Fri, 21 Sep 2018 01:27:20 -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=BKfhkEP0Bcr6c5P25NADuXUt0At86yiUGMZqXjgfDT4=; b=CZ41naqvFCq3yKmQ8d/oNIwFSLngTnJJYtvRsp5DWU4jrEBnlkrKH3PRjAExpwOZBwIrM/UmQsyfq+nwUT7+/Ds2Zc9Jmkd1kEbJpPwBlkF3V+3wN6kmxsR618C+vQVmMXmMbWV2GTNjg6Dhtsl/QV/296i0W6EjJnQTCXyTC3o= Received: from DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) by DM5PR21MB0779.namprd21.prod.outlook.com (10.173.172.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.6; Thu, 20 Sep 2018 23:40:39 +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; Thu, 20 Sep 2018 23:40:39 +0000 From: Pasha Tatashin To: Oscar Salvador , "akpm@linux-foundation.org" CC: "mhocko@suse.com" , "dan.j.williams@intel.com" , "david@redhat.com" , "Jonathan.Cameron@huawei.com" , "yasu.isimatu@gmail.com" , "malat@debian.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Oscar Salvador Subject: Re: [PATCH 3/5] mm/memory_hotplug: Tidy up node_states_clear_node Thread-Topic: [PATCH 3/5] mm/memory_hotplug: Tidy up node_states_clear_node Thread-Index: AQHUUAC/M+i0kRkOSEiF45xse2nJ6KT51qiA Date: Thu, 20 Sep 2018 23:40:39 +0000 Message-ID: <73bf94f3-d53b-0123-0b1e-86fd00f66694@microsoft.com> References: <20180919100819.25518-1-osalvador@techadventures.net> <20180919100819.25518-4-osalvador@techadventures.net> In-Reply-To: <20180919100819.25518-4-osalvador@techadventures.net> 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;DM5PR21MB0779;6:+mgprQuKV+WXe1BEX4MMBMCjYgFrlvQkwZe/j0902p5bCAwrk3Z3dna1/UqEBPaQHpFR4vIFXM4ly67U1UOb6Cr1+0tNL/caR1vKmgeK75/Sw+LHJDx05bsddzBot0XJGNCgrUD0uE86qZmQBRH4QW19wPkcaueTJzLmGuP2TxSzId6Nn9WlhrTN5ufOtT2jhhsblG0/FctIV+pY4yMiBFfu+xk7yJjEwYSVN7S5hlRK0eJkkAo0GTrZc8uLgYYyeFh9m8Jk8957/r+a6V13aznX+j9Frl8E8XUDl/3qNZ6xKPYPqjd7dFd2cw43fzmYAY+jGQ85OPge1qsFYfNA014JGkuUJo1cfYh3ScTHdFOq4KPfKru/Lw97ymNF85CWq+NmR+HdCWnyU5h/ef5+ko2oRcUTRUTwRBrbHYEnCm3IVev2ATOo7OfWlxNHFmnU7l74oXfE9O1xt2SwXHZDfg==;5:R7Dw53gP+sW9GSkxBUW8tA/7KoKEEMnXveCsxzc1LfQDMStMcsvB4ZnTP7tP6xLxsq5P04hrsssngwYtH+DZ372gncauxT+rcVqFl23xvfEtXVkUqOcCOGwNCMR99X/OJwoN+UC3skcT+1yoWq/r66NjohIAWR+YPlaDJaue3q0=;7:q7PHUM4DQ53nkoukoUeAsrSn4w1hGRiHh9pUYbQiFCeK2NldEYERWKcjwB93tIvL1NqaytZ0wWatYL0Lc+XlE0bIiSikCSme839HafzNdFtp+jwHm6Uu5a77NjMSKKXAYZ4ibhZUizf+6IKKYOhOAvumE44yZYgXQ8T/zWsw5ac1c5B9yYIj8OX8hDYiXhRjYXXOnUB8emCxq5WhWnOcHrf+z2xQd7a7Gzn7AcDLBsHPLFMmVGZfG7E3i6L3bz0u x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 619b75fd-26a0-46ba-ccbf-08d61f5278ea 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:DM5PR21MB0779; x-ms-traffictypediagnostic: DM5PR21MB0779: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(219752817060721)(189930954265078)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231355)(944501410)(52105095)(2018427008)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991041);SRVR:DM5PR21MB0779;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0779; x-forefront-prvs: 0801F2E62B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(366004)(136003)(396003)(39860400002)(346002)(189003)(199004)(7416002)(6512007)(53936002)(8936002)(99286004)(22452003)(6306002)(316002)(4326008)(6346003)(25786009)(102836004)(2906002)(2900100001)(36756003)(6116002)(5250100002)(3846002)(110136005)(54906003)(5660300001)(71200400001)(68736007)(14454004)(8676002)(6486002)(71190400001)(966005)(575784001)(97736004)(81156014)(31696002)(81166006)(53546011)(6506007)(31686004)(2501003)(86362001)(10090500001)(2616005)(476003)(7736002)(105586002)(10290500003)(486006)(11346002)(446003)(86612001)(106356001)(72206003)(6436002)(305945005)(478600001)(6246003)(186003)(26005)(39060400002)(229853002)(76176011)(66066001)(256004);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0779;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: LJJLBHQ/OcqtONb5x7FNG8Y5kN2dSPI4Q6VyloW7gsgQg11LiuhMObp4bIAdBX9xzVta9B8rAv1ozWYFTPEydvTeRN2RfhngxtBF5DNycHd/qVhVuiaLNif9Z3PRNWfAkvD0va2hfv8jYr6NH7ifNhuOcCj2F4YpNqGUD6SDtf0oB1kudzJ/3uLlwfig3EdM4k4t/rKZbKJy7Pwn6BZ7S5WQ7cfDbunbwNZre9HwE5TaHxa56ucPEDDn6G2E1ScWXdfvzC7vFpr9ksImMHtNMOTlgA6u7Ry82oDSJviMvP/RQfSCftGfo7WRMqmkzONu+Rh+0Z/26ZkwAt7AqoVvXe5/twAGlaxH6rxvkvuWRWI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <185D7EE10A691F46BD40E305BEFC8A01@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 619b75fd-26a0-46ba-ccbf-08d61f5278ea X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2018 23:40:39.4755 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0779 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDkvMTkvMTggNjowOCBBTSwgT3NjYXIgU2FsdmFkb3Igd3JvdGU6DQo+IEZyb206IE9z Y2FyIFNhbHZhZG9yIDxvc2FsdmFkb3JAc3VzZS5kZT4NCj4gDQo+IG5vZGVfc3RhdGVzX2NsZWFy IGhhcyB0aGUgZm9sbG93aW5nIGlmIHN0YXRlbWVudHM6DQo+IA0KPiBpZiAoKE5fTUVNT1JZICE9 IE5fTk9STUFMX01FTU9SWSkgJiYNCj4gICAgIChhcmctPnN0YXR1c19jaGFuZ2Vfbml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