Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8412532ybi; Thu, 6 Jun 2019 11:53:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaCFdsRCqdTuvsfUnBiABZRYVv3E5AzgRIP2CBfl0HTegNTQERMPTuFB5iyqCMPcHyRmxG X-Received: by 2002:a63:9dcc:: with SMTP id i195mr3908pgd.183.1559847229832; Thu, 06 Jun 2019 11:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559847229; cv=none; d=google.com; s=arc-20160816; b=VX0hokDyeNNnyv4cE+Qa5BeBr1BEJ1kD8zKXTOiTD/lS6bmX7HN55ykKNOHCtNG3wC BXH19JgCczsV0NtjmiY7Unn130WtmCh3lOzPbIC+032UJs9Y94c7uvhzX4sSHoiFO4j3 c8PmwauUssyAEqsucr1x53Oav40+E9LciGvAO+0lspiQPzCK44SDXoMVCpcrvkRmgXJX 6bFa0LtsiO0xXRPImgid9nJXZjwj04geKkkb96OdT0ZOIhZG0YU+T5TiuQ1/fnx2AvqI wpF7FfcK4ypjtzJZ3TbZj2iQWYDvu5UOlRkt01GXlytTabj9WioTHOYg973aT1tGgCX7 duaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=DrPMSDJ9GctNXFYDOwxTZlKQ8HNcUk73mNu2VAHmVj8=; b=wSUWAAyRxMO85TwYERNMMHXWc3Baj1pzxvqhywZXAcgdyMwEE8Palei/ZKjsIodiY/ DEaLBGb9oV6POMtwdCFPPlivFnVGWl+tdkYEbxx6bF6AEM0QeHsjBrHDnvcNWaik9FM2 4hvF3agR8jwRAYI5XO0Z3UH4LNWrUKqKpoQlafEdXgRD8m0dOwN4iP4OH75ZU1nIp46k YrU8Vg5zCB5D/rlnnn3DGuryOAwS7foXI+SHpiwOhrQukSJ8CkYUCzGudtJOkrr7wZWR 4j7Ssz7Oq4jt1oOwdXV1Suu3a3J7lSdQJsDnfxt+uQ3Uo5owakyG33hSgdaLS3uVN7V9 u+eQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q28si2562656pgm.545.2019.06.06.11.53.33; Thu, 06 Jun 2019 11:53:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728629AbfFFRCn (ORCPT + 99 others); Thu, 6 Jun 2019 13:02:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:56414 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726379AbfFFRCn (ORCPT ); Thu, 6 Jun 2019 13:02:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 853E7AD1D; Thu, 6 Jun 2019 17:02:42 +0000 (UTC) Date: Thu, 6 Jun 2019 19:02:39 +0200 From: Oscar Salvador To: Dan Williams Cc: akpm@linux-foundation.org, Michal Hocko , David Hildenbrand , Logan Gunthorpe , Pavel Tatashin , linux-mm@kvack.org, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 04/12] mm/sparsemem: Convert kmalloc_section_memmap() to populate_section_memmap() Message-ID: <20190606170239.GB31194@linux> References: <155977186863.2443951.9036044808311959913.stgit@dwillia2-desk3.amr.corp.intel.com> <155977189139.2443951.460884430946346998.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <155977189139.2443951.460884430946346998.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 05, 2019 at 02:58:21PM -0700, Dan Williams wrote: > Allow sub-section sized ranges to be added to the memmap. > populate_section_memmap() takes an explict pfn range rather than > assuming a full section, and those parameters are plumbed all the way > through to vmmemap_populate(). There should be no sub-section usage in > current deployments. New warnings are added to clarify which memmap > allocation paths are sub-section capable. > > Cc: Michal Hocko > Cc: David Hildenbrand > Cc: Logan Gunthorpe > Cc: Oscar Salvador > Reviewed-by: Pavel Tatashin > Signed-off-by: Dan Williams Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3