Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1025imm; Thu, 30 Aug 2018 12:40:41 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdahth8ivr1w0o8IobTbA2Qu2oat25GU242pJaOiQK5nUQnI2cfx91uBaSZ0ee2IMZf0TL/S X-Received: by 2002:a63:cf09:: with SMTP id j9-v6mr7456106pgg.195.1535658041432; Thu, 30 Aug 2018 12:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535658041; cv=none; d=google.com; s=arc-20160816; b=xmP2DZSJVaIwCceje8AKWXTSjRTnTJq51pF3HzI18cf8LCx3GEh2TYc3USOTDVeG19 oTnuXBMIB4txSj5egr2IiyUjuGUW7bGyWhtMXz2+VUf/8nVQepBys1a3KhLidO7eCWSu lB6O+IuFh0bJsMZN/ZHU1g39/HxKdYTD2dTEAmt+d3Tl60ESmY2mLfetxTK3kTnbCz1X KVjut7frTdBJj19C8v5XCvK+H4nVPGw6NGwlpng7y/aOVv2vADfgnhb8kFIddYnVAhoE s23dryzX5KpB11mSG6kQTd2ZT4DFwVYTfMJHqEbCvUdvCRJkBytMAtGDS29L3GgWr1lQ ArVA== 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=cIRKMUSLUGOkRT+6EMBbFvCiiyNosebJ4/N+BHFup1I=; b=Q9h4LWu+jyalQWIS5LnY81M4p1PyTnJtJiO7g1qJ7j3cXDGIUfJtHXGI5K8UW9cXGu g2ctflTVbSlKjaLbK9czq+nsfTB2ViHmPLRpIWScI31faMae+DLy4puo6B9i7BPMa3Ui NvOyUuAvXf9QWRSaPNgw8crGWbq8oEfdsRhoyhtixa5T+fWmzTCrkOPxBQ0eccNCyVxA cf3tNiytfeTr/xXkeY+bajpS/wlrOP+jpJdzJfGsL1uoydVdRZiCT1ZaYVbrM5PsfLpB PrAkrAbx7pmFLbKqR9SP+FXS7LC4kT6djypKzmA3wmE2Thyn8VB/pqak551MnJ705Nn3 4K4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=FSVHN8k8; 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 q5-v6si3869729pgv.692.2018.08.30.12.40.24; Thu, 30 Aug 2018 12:40:41 -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=FSVHN8k8; 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 S1727446AbeH3XlY (ORCPT + 99 others); Thu, 30 Aug 2018 19:41:24 -0400 Received: from mail-dm3nam03on0123.outbound.protection.outlook.com ([104.47.41.123]:27184 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725836AbeH3XlY (ORCPT ); Thu, 30 Aug 2018 19:41:24 -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=cIRKMUSLUGOkRT+6EMBbFvCiiyNosebJ4/N+BHFup1I=; b=FSVHN8k8XIyeqbuZ6WJytK2vSiSRr3yUlX8bgVdzBOSAFf5n1XXbhrr4gxltbE/sXdwOd/xFPYW0Ptuw3FBr3XBhKpGI+onSNO7Czi3VnWLz6qNFHvWWxv/xii9FWgSgPSggK8/B/A+dyvJY6F3533Go4ikzlCaEMAXLf2dCXYY= Received: from DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) by DM5PR21MB0506.namprd21.prod.outlook.com (10.172.91.140) 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 19:37:35 +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 19:37:35 +0000 From: Pasha Tatashin To: David Hildenbrand , "linux-mm@kvack.org" CC: "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-acpi@vger.kernel.org" , "xen-devel@lists.xenproject.org" , "devel@linuxdriverproject.org" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Martin Schwidefsky , Heiko Carstens , Boris Ostrovsky , Juergen Gross , Rashmica Gupta , Michael Neuling , Balbir Singh , Kate Stewart , Thomas Gleixner , Philippe Ombredanne , Andrew Morton , Michal Hocko , Vlastimil Babka , Dan Williams , Oscar Salvador , YASUAKI ISHIMATSU , Mathieu Malaterre Subject: Re: [PATCH RFCv2 3/6] mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock Thread-Topic: [PATCH RFCv2 3/6] mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock Thread-Index: AQHUQJjmAiMyK74aP0K/NBbsPnZS2g== Date: Thu, 30 Aug 2018 19:37:34 +0000 Message-ID: References: <20180821104418.12710-1-david@redhat.com> <20180821104418.12710-4-david@redhat.com> In-Reply-To: <20180821104418.12710-4-david@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;DM5PR21MB0506;6:v6uVRxT3AE6o48z+CI6EjEQYpK/7pwn3RwsATHsfDLN3ph2Z4NNTnHou4LAZwOU0iqt+tHQgF/tzAZO0k0lvqd9uxKOT+b9FSTnUfxBD+L8zIYgzekC+XQ6h8JH+5HF/m9H195Dr+N3T+AKzb22Iy4MgcMHXdL1Fqn0ogrL8rVATy3Bug36MAcN3xzzK1S9or8Ug1HV4xvYh0T1U5QnN2djoH/2XbcaCLBrSYG13AYeARnAFZFZA2jbkkt0WcWNT/kAkdwQkyBV82p6wop3CCpKHqYB2Z2mI7GF2BpJsUFh6LBe5Mf3J1Ez73L/5xzA45Fm2+ewGcL0RNQMFFu5MLpMRf+6PnxxPO1SZQPNSnvKR/eKzLgfhdic85XyrXK6HKugTR7uKhTplYNka9IRaAq5YL5KGIggMo4h/sstplrFtdq+vcpZjbfXHrAe1GQdbZAYV3fCqNT2tQmiPqnGtZQ==;5:FfBYkkLAbhVI/+ImSZUoGBhHv8hJWGw9zDasICHeLwLtHdz31gVSFmBDVCpFXBFTbugOCkOI4+Sji2JcIWzQmAiGBVnK9rlgFxEnxl+W7GQoD91akjbYig0v9zXpy+XJmvM6+A3SFyjmw1y3XHAnRhULu+F2aZDUjiEy3FpYzN0=;7:kodWNammCyD2J2/bRUVweQLBSyhzUfPLQIXhYiwaKdbDMY4iUF8gs3FQXt2XGJE1SHscCsbrIQnAW7Yr3hI5HiJmMYmYLbONahQfmflFkLkOZjoFc9ybeVRL1KEVM8t4l+2vDSkavWf+37Fuw3ymnug16ZklsayOozfUdeYNi+lpqmIkCNz6w3kXCZyCQsEYKc6iPTBOl3YQxLL61TUC9eBNRMprGOECcOkJC3owg/MExwYezkOcOXOl42o5awWf x-ms-office365-filtering-correlation-id: 3bd4a794-1acd-4932-5f8f-08d60eb0093a 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:DM5PR21MB0506; x-ms-traffictypediagnostic: DM5PR21MB0506: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Pavel.Tatashin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(209352067349851); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231340)(944501410)(52105095)(2018427008)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699049)(76991033);SRVR:DM5PR21MB0506;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0506; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(376002)(136003)(396003)(366004)(346002)(189003)(199004)(43544003)(316002)(6486002)(54906003)(53546011)(99286004)(102836004)(22452003)(110136005)(486006)(4326008)(2616005)(6436002)(476003)(229853002)(11346002)(14444005)(256004)(6512007)(6306002)(53936002)(6506007)(36756003)(186003)(97736004)(2501003)(2900100001)(5250100002)(26005)(446003)(76176011)(6246003)(2906002)(6116002)(3846002)(72206003)(7406005)(14454004)(7416002)(966005)(86612001)(31696002)(39060400002)(106356001)(10290500003)(86362001)(575784001)(5660300001)(31686004)(8936002)(8676002)(7736002)(305945005)(105586002)(10090500001)(81156014)(81166006)(68736007)(66066001)(25786009)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0506;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: eH1VTPK84ct0kBZ8PUn0M/mdw2hc1401qXr5f4xkJ0NIz3fdm0LP7jZsQlV59JwAtyXpPnMlzPJ7T5OMp49DSVhMana2V27q0Xg+vfkNumJqQr2UWWpDrDvs1dPEe1A+3senWocfrXx5PDx9zIrFPHvd+qB2ISgm7Zjk1Ba+I/H61WUnWdn37C86BO7FX5UJqmaBwbvD3JBgAmRqyrO3fVbw+YeEyIRaSVW9ztUrOFtUbBpWRrFnAoIoCYILXmPSjBOdQcKghSmWjmbGO00lVv84tCJLQoS8aWYz80XamEkL92SjBVTJ6zUYQuLrqEZuLuWgAfrAc26KtqTENx89456ejf53uFu+RKDlsHnSpvE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <3469F0C8B8592041A0C8C2C69E240BB0@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bd4a794-1acd-4932-5f8f-08d60eb0093a X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 19:37:34.9115 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0506 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gOC8yMS8xOCA2OjQ0IEFNLCBEYXZpZCBIaWxkZW5icmFuZCB3cm90ZToNCj4gVGhlcmUgc2Vl bSB0byBiZSBzb21lIHByb2JsZW1zIGFz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