Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp46346imm; Thu, 30 Aug 2018 15:18:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaCk+ydMWqjmxkWKCncbBcM9U8XP8gIbx+FM5vOB9b9m9edH/Iwd1h2saeaNy5yNPX8QEfJ X-Received: by 2002:a17:902:e281:: with SMTP id cf1-v6mr12198989plb.86.1535667539453; Thu, 30 Aug 2018 15:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535667539; cv=none; d=google.com; s=arc-20160816; b=0xvisApaGcy6X2Wwzoqin1AHOIbfZaNhZXu0YKAdFfolNuW71ImYYccM1p/7HJrEKn wTciWL4yCuA/gc5oXmmCTo3t4WzmIBw4WKEn91mvReRxmVhShK5dPnYHW8LtmHOmhUC1 UexAYRhZSfbqlglEFs5hWayXclPNPrEZBrN4NZxnyBKjAlxfCumFEo1mfCvlT+CIA7gl F0w4NYm5trIa9RnnLOlICOQaJBW+iyzmPakxpa6keitSej6EIORR+Ld0v0k31nyIzKNh /8gc5rTXIoEo5tlrM6DbIzccFYBhLn7ghU3/UYC4Kl6mLM1Z7SHB/ltaIxSaMeWld1cb 7iNg== 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 :arc-authentication-results; bh=Q3K5Y8crGWM8MuoEsHZt9bidYO7sUe0IR1FCVUJvozY=; b=GiMmW5zfMDogSnqZHQlTEEMv5i/8t/ysJlAMjLZQCVMj3EKUYLOI6i1g2Rza3Zh7ny d6dV1GF4Ln01qXjrqY1cIp4YklbNCPIR3ckEFFnM1T/FfM8Xd/2K4FSREQMgLPVGx/9u fWyIXNXofZbFnjY0vY+87S2iHritgH9qvpr+PO3y03rBUgYWvLTDgEFP1d+I0eVnPDcK JKXCxLKo7OecOXCIdFdRgWJmuLZEc3h0+lmEa3cRvnPFHR1AukVxgHKGSH9OJHwEHFXW IdS/7xoBeBQb+4syNW/Bm/DQlGNC1hKYXEnH7wPauf3aBNVYgiyCALYyheSISdZKlExZ O4aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=TFYh5Ima; 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 h9-v6si6992138pgk.121.2018.08.30.15.18.43; Thu, 30 Aug 2018 15:18:59 -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=TFYh5Ima; 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 S1727335AbeHaCV7 (ORCPT + 99 others); Thu, 30 Aug 2018 22:21:59 -0400 Received: from mail-sn1nam01on0122.outbound.protection.outlook.com ([104.47.32.122]:10528 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726674AbeHaCV7 (ORCPT ); Thu, 30 Aug 2018 22:21:59 -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=Q3K5Y8crGWM8MuoEsHZt9bidYO7sUe0IR1FCVUJvozY=; b=TFYh5ImaufWhdQFVOfPqlX1pqALJRoeidpPavgsdYFjWo0TRSSE3ytYiOr5pXrhtj3nh8L34haa+EBxURHQM9l0N3OkaCJU1Eq6aYhbrcZAUedMaGo1b+2icJAHENOYc4GAVYJA0W9CsDSBsTiSOYtQrWumbUhSOZ9hGL3x37DY= Received: from DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) by DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.1; Thu, 30 Aug 2018 22:17:36 +0000 Received: from DM5PR21MB0508.namprd21.prod.outlook.com ([fe80::65dd:b17f:eb0d:2eee]) by DM5PR21MB0508.namprd21.prod.outlook.com ([fe80::65dd:b17f:eb0d:2eee%8]) with mapi id 15.20.1122.009; Thu, 30 Aug 2018 22:17:36 +0000 From: Pasha Tatashin To: David Hildenbrand , Oscar Salvador CC: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Andrew Morton , Michal Hocko , Vlastimil Babka , Stephen Rothwell , Pavel Tatashin , Kemi Wang , David Rientjes , Jia He , Oscar Salvador , Petr Tesarik , Andrey Ryabinin , Dan Williams , Mathieu Malaterre , Baoquan He , Wei Yang , Ross Zwisler , "Kirill A . Shutemov" Subject: Re: [PATCH v1 3/5] mm/memory_hotplug: check if sections are already online/offline Thread-Topic: [PATCH v1 3/5] mm/memory_hotplug: check if sections are already online/offline Thread-Index: AQHUQK9BwLb6Uhs5VkS37sPJPRy+cA== Date: Thu, 30 Aug 2018 22:17:35 +0000 Message-ID: References: <20180816100628.26428-1-david@redhat.com> <20180816100628.26428-4-david@redhat.com> <20180816104736.GA16861@techadventures.net> <62da84ee-090f-29e4-0a39-fcfd543ee81d@redhat.com> In-Reply-To: <62da84ee-090f-29e4-0a39-fcfd543ee81d@redhat.com> 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;DM5PR21MB0508;6:JV6pzLwBM0Nu/x3hiMftXASNeVA4cyEpvHWqYOmrS1TqTVpC0tVuMdVGz71Ahd3p5w4GNkp5mxx4zhyC4XVLpfotKHYZA38YRwKjLyBI5SFHt5ODekX94tVnSR1X/SJyo0bRainIdoiipgQObBW1jNt2ICdqh5LUynBAJ5rKWJ29rT3iQutTAyrKZGqXKAWqbRh3X3peLmdl71v/DC+lbzjHb4JhzcsnjJp9cE4USEn/lrpx4iC/5OU4tULqnblKtXa5+XhIptJgQ26F8OJ0gWw6Q9Uas9WxiXWBg2sSEi9cbMOjvglRY5xUNo2v10rP4tM4AajGK9x7dyBLs2Dq6GQk2qp9xtlWmoKUBhM+FPsMGz/9vrHTT0wD2cI+zVOt4b4NsV09YSsXpA/Z48ANiJlHIPljVHNCNRJEeLOPbTskgYWaoes2ew9AWDubXUrAoOOCLHVykv9f/y5LmINCKQ==;5:o5xxV0/g2RCiODk0tIfwzMhA6DCmT1te4+d3MU5TU18/I6yiv2WstV87mdTx+1GL0iBdR6VGVuOS99rUIgItIJjQyt/uV6oMm7/P4nwaB2Sb7e+xARMO2z3ENCGfbZsf5y2WtEGuzVnp5K8emjREuBy4fwXtFkfIiTRiRCKi/+I=;7:qozY69GNz0AE2kzMWgVr6PEsdG9qPq+oB9dWJi7E4/CodoiEE9NrSMwVxqPPdtO3zLzd69JokamIwlyLChWDCpdi2wi7ZrhpU1PtzYOpa74NlHQcFQukFPZYDhwbiw4Eg0Urebcs/Q401INxACSw/5VSmxGB08iqgYNwQslWuSV2kj8h5nKi4wqqF3tlkVVlyO6aVNHcrXpJhVdEyBQLvrIzKeHZRs4iLfiUGMpBbQ4mQktBJo0qHkiOP0XlEAJw x-ms-office365-filtering-correlation-id: fec074d9-3b5c-46e8-6457-08d60ec663e1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:DM5PR21MB0508; x-ms-traffictypediagnostic: DM5PR21MB0508: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Pavel.Tatashin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(209352067349851); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231340)(944501410)(52105095)(2018427008)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(201708071742011)(7699049)(76991033);SRVR:DM5PR21MB0508;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0508; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(366004)(396003)(346002)(376002)(136003)(189003)(199004)(11346002)(486006)(2616005)(10090500001)(446003)(39060400002)(54906003)(110136005)(316002)(99286004)(6116002)(22452003)(53936002)(76176011)(256004)(3846002)(102836004)(26005)(186003)(7416002)(4326008)(476003)(5660300001)(53546011)(6506007)(6512007)(31696002)(68736007)(478600001)(25786009)(105586002)(6436002)(86362001)(5250100002)(93886005)(8676002)(86612001)(6486002)(2900100001)(10290500003)(97736004)(2906002)(8936002)(7736002)(31686004)(6246003)(14454004)(305945005)(229853002)(36756003)(66066001)(81166006)(81156014)(106356001)(72206003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0508;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) x-microsoft-antispam-message-info: yarCNj7ocGWZx3p52k1YtdHoe2R1v2NwrUoKJ+XwUVw257Ez5EwmrTfRupIuLv8TPysK1vBTsmI++sisCXSbzMfs+DCXY0e9O4HAsI79H+fOen1qiOrl/n9bQcdonACikRqRZ+5PjYHcflF/uDxknTeLzDXE6RII58PctqtB28skf7JHX6gDReynF1v73wXAjpS7XE2787hyp11WRPApJPRk1N6dkAtcsz0jWflP7jycPfS45KN7+EpX5Ud0nXwoFWjUldlgvQRDQKLBMfD5pmNgSihRGxhXc5fH3wh9Yu9LDVmpkQ80dPnGt5/P8QoXYn8/A99X064hrD+nNxTdLTrz32Y5Ac4T6jZ0QqvrrLw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1952BA0C898C7448A231EA724B9CAE68@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: fec074d9-3b5c-46e8-6457-08d60ec663e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 22:17:35.9561 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0508 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gOC8xNi8xOCA3OjAwIEFNLCBEYXZpZCBIaWxkZW5icmFuZCB3cm90ZToNCj4gT24gMTYuMDgu MjAxOCAxMjo0NywgT3NjYXIgU2FsdmFkb3Igd3JvdGU6DQo+PiBPbiBUaHUsIEF1ZyAxNiwgMjAx OCBhdCAxMjowNjoyNlBNICswMjAwLCBEYXZpZCBIaWxkZW5icmFuZCB3cm90ZToNCj4+DQo+Pj4g Kw0KPj4+ICsvKiBjaGVjayBpZiBhbGwgbWVtIHNlY3Rpb25zIGFyZSBvZmZsaW5lICovDQo+Pj4g K2Jvb2wgbW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