Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp44513imm; Thu, 30 Aug 2018 15:15:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZWSIuYaD4LHSwTDxynNCCj582utbRBlMEFH/dUmfwFGxpCKqRY0hemguggcWZysSH8VZeg X-Received: by 2002:a62:808c:: with SMTP id j134-v6mr12521522pfd.120.1535667328526; Thu, 30 Aug 2018 15:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535667328; cv=none; d=google.com; s=arc-20160816; b=I7tjG7aIOP9zCoY0GEm0RTEgH9n+K/+1bBhr4sCEnBzquMbRS/pWWSveS1AvMQnQED 0qu3CE4VN3h3xZXYMIoMXIELCKs37uVJ/BEnFz1s1XottW6YfWBWrKTK1rF5exYPLmXh 21AVFC4rgC9ayyGSlTgQrShZHOqa9nfho4G1ZCK/F6dqOnPE7hu5Af25Dozjbl9kKUy/ +ctz+GSrHlPDXP8DM02LCj9yNQv9uQn9NZpir/RtBFRwyl4UIXxZ+6PfLfJYKgiPKw9R 9QTuRTK53tm7fdO131MRAQu/Z+LaSjwosd+RsPVrmpjOVbuRmsOE3jFQMcan9j5PGosc 6Xww== 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=uwiuGXsfEsHg2RaHHPFrfU59mK6oF8AGVLi8el31aNc=; b=yNSDAKgq1zj1ji4T0iWc5ibkwQG3w24Od5ZMTG3rmSZHG3AwmNmhKUJNAscQJ44Pjq 4kK06Dn3DU5sBiAohd9LcxNlELSMSMLCUAhXmP2cJ5WWqptlJWtww5pcM+RlaWBieyWd +naGvoOiuyxJEpGCqjTIsuNXyHgIcbJ+Wa6uw/p3q580dmDd9mcmeYrUyn/zbzVyP0bK DmFp6fbI8cKIK7oNYe47SZYqVKRqmqpOIC121EuSQOsWcxW0aZekcL7+XO8goPv439/R y9aofhGBOFFuRZYoodm74Lz0b0GgtU1uNKFtGEtD2GOjBxEhzqhSt9DDYPbZFli99trh Fb2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="Hvd/Lt5q"; 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 b31-v6si7343991pgl.437.2018.08.30.15.15.13; Thu, 30 Aug 2018 15:15:28 -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="Hvd/Lt5q"; 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 S1727258AbeHaCS0 (ORCPT + 99 others); Thu, 30 Aug 2018 22:18:26 -0400 Received: from mail-sn1nam02on0124.outbound.protection.outlook.com ([104.47.36.124]:24708 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725836AbeHaCSZ (ORCPT ); Thu, 30 Aug 2018 22:18:25 -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=uwiuGXsfEsHg2RaHHPFrfU59mK6oF8AGVLi8el31aNc=; b=Hvd/Lt5q3L5geDusAaFSCbO555DkHsRruKiDhab/iZw9mahZ1QQIlT+z3zRLfgO1C+z0KtjitRF4WZQvShyh1fadLpO9o1+F1XELVeafhcLOhEyzB4/X2svNKcMgj8JCE+3HOIoQW+x93R5SapOIOOddLrjmwfdf6KEdOYy8DtY= Received: from DM5PR21MB0508.namprd21.prod.outlook.com (10.172.91.142) by DM5PR21MB0281.namprd21.prod.outlook.com (10.173.174.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Thu, 30 Aug 2018 22:14:02 +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:14:02 +0000 From: Pasha Tatashin To: David Hildenbrand , "linux-kernel@vger.kernel.org" CC: "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 2/5] mm/memory_hotplug: enforce section alignment when onlining/offlining Thread-Topic: [PATCH v1 2/5] mm/memory_hotplug: enforce section alignment when onlining/offlining Thread-Index: AQHUQK7BnPNkBWxNqk+GGH2a75UbYA== Date: Thu, 30 Aug 2018 22:14:01 +0000 Message-ID: <772774b8-77d8-c09b-f933-5ce29be58fa9@microsoft.com> References: <20180816100628.26428-1-david@redhat.com> <20180816100628.26428-3-david@redhat.com> In-Reply-To: <20180816100628.26428-3-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;DM5PR21MB0281;6:z1m+srgQgyeXXz6B5woY8+vm8v7jYyXC1yDOtNn4tK3aYqy7UzqoYV0p9S2Vqbugoev2f86NqEen7bbt0yIh9cHKw3aM3deA8jvgr08wusT39Ab4840hiOukpn1u17qHgefKeFofMle1qbQ9T4Cko3orZhtFfNl0GWJ3wwDj3k5KFmr5etQA+mMLDQDMRDRkj/EhKz3VIcZFJoi95hoqjbndqrta5bFyjeSBa9NZekCLDR51EayA9hskkXyi2t5RiZJDRQjJXehZENstrUeuCGy0Vb6XjPxjcNDzLTEIeT+p4yFMFih5XdXi7nDnHDVjjDF+9hORMT6l82qCAdEnGZbfUETl5urL1bAchTJ2Yaz+wYof0L4umF4XgvwKhlbhs6bbVudfoF1zDQLmU4Ep4qHrcRjyci1agAL53+AIdt67jRRKtYOszFi6U1rEjtOeiQd8pb+vIdkryzFj+EIAzg==;5:wTXSILyQpdBmHks34XgVdnsuAWCMHy6i9LVdAq74Qcdd18F5I0s01NMSMyfbOhzGP53ii0VD9ErmoxGanJhhUxeowXvvwDpRcaL67l3eMJtv2VtrsGnNl+GkDUoim8XYTPgKtwE3MlA5GFOoMwiNJ93dS1iFRbzLchUBcvk0ThM=;7:axm3TjYq62tMarNto2aqAhmqcOuxt2geKuN5FaCTVkQ93Ro4RvT4gIwVZ+fIEGaZwxSEhmHe5k/5SgW0/VZXQxxJE8nCBg7DPzYm6zEsdE7Hk/2kcO6UmjYbAPyp45qev4Bl73z30WiZP39n8NWWGi7ku99VCenD4JDSrDtzMkw/Asi4cmz7hkaWNgTTlddyEV0btIT+4tk+PPVoCiZQbDYQl4TB8Ds0bc05shMsMBGLFzWY/wGobCUkA0LnQElW x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 8f0f94f0-948f-4a39-f4ad-08d60ec5e451 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:DM5PR21MB0281; x-ms-traffictypediagnostic: DM5PR21MB0281: 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)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699049)(76991033);SRVR:DM5PR21MB0281;BCL:0;PCL:0;RULEID:;SRVR:DM5PR21MB0281; x-forefront-prvs: 07807C55DC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(376002)(366004)(39860400002)(346002)(396003)(136003)(189003)(199004)(6506007)(99286004)(102836004)(31696002)(86612001)(68736007)(2501003)(86362001)(66066001)(5250100002)(575784001)(53546011)(26005)(186003)(6346003)(2900100001)(53936002)(97736004)(2906002)(256004)(8936002)(105586002)(10090500001)(106356001)(36756003)(31686004)(14444005)(5660300001)(2616005)(478600001)(486006)(54906003)(110136005)(10290500003)(316002)(476003)(72206003)(6116002)(7416002)(446003)(22452003)(14454004)(11346002)(229853002)(25786009)(7736002)(305945005)(81156014)(6486002)(3846002)(76176011)(6436002)(4326008)(39060400002)(8676002)(6246003)(81166006)(6512007)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR21MB0281;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: Xl2nrFoQFWc5OSl6p5QDZZL/lgtNq0pTFv/E3eVhAsYD9gnOMx/adaaeekf2CvPzAybGrC4YYX/hlE1JLkEZoNJztAW3/iYA3ZyXVSeskQv32KBgTkU1wEd025Y6ZJ0Fkxz975kdDPIdss8MGQNlQlXqxYlAj7a8nkBDrHwEcHiN/XPVYKABClR4nr3RTOufX4hI0rEmZiLJsFS4FP+e7zvv7DPJEaM+mMpkjuCBDTVYsiRGiU0en+SPcVwN1+MWLlXzSm5wmC0R4LIq+Es0dULHOeBOGpLMvTDf4QRh7mqaCGu0wjOTKN3Y/y8k89273npsEM/3hjkvKBcDsAl/pcMI+MzNzXAs71S3dXBWoHs= 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: 8f0f94f0-948f-4a39-f4ad-08d60ec5e451 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2018 22:14:02.0025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0281 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGF2aWQsDQoNCkkgYW0gbm90IHN1cmUgdGhpcyBpcyBuZWVkZWQsIGJlY2F1c2Ugd2UgYWxy ZWFkeSBoYXZlIGEgc3RyaWN0ZXIgY2hlY2tlcjoNCg0KY2hlY2tfaG90cGx1Z19tZW1vcnlfcmFu Z2UoKQ0KDQpZb3UgY291bGQgY2FsbCBpdCBmcm9tIG9ubGluZV9wYWdlcygpLCBpZiB5b3UgdGhp bmsgdGhlcmUgaXMgYSByZWFzb24gdG8NCmRvIGl0LCBidXQgb3RoZXIgdGhhbiB0aGF0IGl0IGlz IGRvbmUgZn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