Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2103790ybi; Sat, 13 Jul 2019 06:54:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTkAn1xJtXGdSM7DUGkKGiFAQiIvMPuRfIMum0OW9RJrXbePMVgrYyvNU38z+nqLRINJo/ X-Received: by 2002:a17:902:12d:: with SMTP id 42mr16965501plb.187.1563026098970; Sat, 13 Jul 2019 06:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563026098; cv=none; d=google.com; s=arc-20160816; b=V8o4arnzAbVq/JnvxHy8qedHGYfb5ubUlUvHR3SrdRQVIeGgV/JY8Wdn2sQS8sMaO3 643ww8ebjH0S9BZz5kpVLRbZJ5nBVWALA6vH7QUeM82CwWKZq+sGQCpA7WamVCXhd9x/ 5tlN7LFvaN1W7o2E7gDh+FUQv1jfWy8IOLw18E4pRkHSp/o+BaoaFGlglZ5xmYu15Mh0 nzEFKnwVohlmoERgft5LZfRe70MUdaLNHlOQIzDIxWzqC3fD25a0O69m/c7UN+eyG6JH Kmai5hBQHw4u5ZcYfrmbQjU7kvX4NIfViIaSUDZE07qX7h00xlbfNC62iWO6GPwqKIFg AAIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Oq1JDzuzw72gaVJ3N+aVYoxBMtRhT49QZunKSm9NVAA=; b=W3NfpKtDXWLWgBumjxWizj8r6LMn+oYPWXhXS+suH8epUcwIOWKxdYwhBmfuhfnMX6 NvKdKSBJl1tXUjwkpuvl4rbq4wiUf30lus05AyAE0Mlz05ef/4rs084E4oOSvSc0E57h 3GF4sZNtYSwbfpxbwOTR9fzeW7v/GB/tBiHcuuU4XufHcGZ7EBUWqfwzizFjvOr8eA8r eH9gAB7obiISYtVHNXAbKnZ73UmC0GLGqt3mh135U8tLq8uIxZMTVXpIDMz9F3irncBl ZCa80cWZbI2wcVxkkgmAQ3Furo/xotqiTbPOrVcIM4mHV1VvIXeEtjnowSVr2gUfWVgs NWRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b="X/rasMJR"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21si10266787plp.332.2019.07.13.06.54.42; Sat, 13 Jul 2019 06:54: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=@amazon.de header.s=amazon201209 header.b="X/rasMJR"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727751AbfGMNxf (ORCPT + 99 others); Sat, 13 Jul 2019 09:53:35 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:52434 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727504AbfGMNxf (ORCPT ); Sat, 13 Jul 2019 09:53:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1563026014; x=1594562014; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=Oq1JDzuzw72gaVJ3N+aVYoxBMtRhT49QZunKSm9NVAA=; b=X/rasMJRLfdLC5i1FYYu3G4eAfQoNaSclM02jZd27gJ5VWhb6Bgl/3p1 2qhrVC5qKoglazQ3IM+5f2MLEjZio9vJpTOInZgQ2MIIw0rGWWTHVXmsF qQtHagF0EPArV2wMhXA4ZdEjqrHG3gRBGXBETuItiJw7nFPV0vlhqOaps Y=; X-IronPort-AV: E=Sophos;i="5.62,486,1554768000"; d="scan'208";a="741626702" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 13 Jul 2019 13:53:32 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id 065D6A1868; Sat, 13 Jul 2019 13:53:27 +0000 (UTC) Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 13 Jul 2019 13:53:27 +0000 Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13D01EUB003.ant.amazon.com (10.43.166.248) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 13 Jul 2019 13:53:26 +0000 Received: from EX13D01EUB003.ant.amazon.com ([10.43.166.248]) by EX13D01EUB003.ant.amazon.com ([10.43.166.248]) with mapi id 15.00.1367.000; Sat, 13 Jul 2019 13:53:25 +0000 From: "Raslan, KarimAllah" To: "richard.weiyang@gmail.com" CC: "linux-kernel@vger.kernel.org" , "bhe@redhat.com" , "linux-mm@kvack.org" , "cai@lca.pw" , "logang@deltatee.com" , "akpm@linux-foundation.org" , "osalvador@suse.de" , "rppt@linux.ibm.com" , "mhocko@suse.com" , "pasha.tatashin@oracle.com" Subject: Re: [PATCH] mm: sparse: Skip no-map regions in memblocks_present Thread-Topic: [PATCH] mm: sparse: Skip no-map regions in memblocks_present Thread-Index: AQHVOI8IlRiU8rBOJUewLnGIizLEO6bHnIWAgAD3C4A= Date: Sat, 13 Jul 2019 13:53:25 +0000 Message-ID: <1563026005.19043.12.camel@amazon.de> References: <1562921491-23899-1-git-send-email-karahmed@amazon.de> <20190712230913.l35zpdiqcqa4o32f@master> In-Reply-To: <20190712230913.l35zpdiqcqa4o32f@master> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.55] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTA3LTEyIGF0IDIzOjA5ICswMDAwLCBXZWkgWWFuZyB3cm90ZToNCj4gT24g RnJpLCBKdWwgMTIsIDIwMTkgYXQgMTA6NTE6MzFBTSArMDIwMCwgS2FyaW1BbGxhaCBBaG1lZCB3 cm90ZToNCj4gPiANCj4gPiBEbyBub3QgbWFyayByZWdpb25zIHRoYXQgYXJlIG1hcmtlZCB3aXRo IG5vbWFwIHRvIGJlIHByZXNlbnQsIG90aGVyd2lzZQ0KPiA+IHRoZXNlIG1lbWJsb2NrIGNhdXNl IHVubmVjZXNzYXJpbHkgYWxsb2NhdGlvbiBvZiBtZXRhZGF0YS4NCj4gPiANCj4gPiBDYzogQW5k cmV3IE1vcnRvbiA8YWtwbUBsaW51eC1mb3VuZGF0aW9uLm9yZz4NCj4gPiBDYzogUGF2ZWwgVGF0 YXNoaW4gPHBhc2hhLnRhdGFzaGluQG9yYWNsZS5jb20+DQo+ID4gQ2M6IE9zY2FyIFNhbHZhZG9y IDxvc2FsdmFkb3JAc3VzZS5kZT4NCj4gPiBDYzogTWljaGFsIEhvY2tvIDxtaG9ja29Ac3VzZS5j b20+DQo+ID4gQ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