Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750848AbVIHGh2 (ORCPT ); Thu, 8 Sep 2005 02:37:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751091AbVIHGh2 (ORCPT ); Thu, 8 Sep 2005 02:37:28 -0400 Received: from sv1.valinux.co.jp ([210.128.90.2]:11204 "EHLO sv1.valinux.co.jp") by vger.kernel.org with ESMTP id S1750848AbVIHGh2 (ORCPT ); Thu, 8 Sep 2005 02:37:28 -0400 Subject: Re: [PATCH] i386: single node SPARSEMEM fix From: Magnus Damm To: "Martin J. Bligh" Cc: Andrew Morton , haveblue@us.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, andyw@uk.ibm.com In-Reply-To: <40650000.1126159888@[10.10.2.4]> References: <20050906035531.31603.46449.sendpatchset@cherry.local> <1126114116.7329.16.camel@localhost><512850000.1126117362@flay> <1126117674.7329.27.camel@localhost><521510000.1126118091@flay> <20050907164945.14aba736.akpm@osdl.org> <40650000.1126159888@[10.10.2.4]> Content-Type: text/plain Date: Thu, 08 Sep 2005 15:36:29 +0900 Message-Id: <1126161389.6940.61.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1559 Lines: 34 On Wed, 2005-09-07 at 23:11 -0700, Martin J. Bligh wrote: > >> >> CONFIG_NUMA was meant to (and did at one point) support both NUMA and flat > >> >> machines. This is essential in order for the distros to support it - same > >> >> will go for sparsemem. > >> > > >> > That's a different issue. The current code works if you boot a NUMA=y > >> > SPARSEMEM=y machine with a single node. The current Kconfig options > >> > also enforce that SPARSEMEM depends on NUMA on i386. > >> > > >> > Magnus would like to enable SPARSEMEM=y while CONFIG_NUMA=n. That > >> > requires some Kconfig changes, as well as an extra memory present call. > >> > I'm questioning why we need to do that when we could never do > >> > DISCONTIG=y while NUMA=n on i386. > >> > >> Ah, OK - makes more sense. However, some machines do have large holes > >> in e820 map setups - is not really critical, more of an efficiency > >> thing. > > > > Confused. Does all this mean that we want the patch, or not? > > >From that POV, nothing urgent, and would require more work to make use > of it anyway. Not sure if Magnus had another more immediate use for it? Just wanted to make sure that both versions of setup_memory() behaved in a similar way and they both called memory_present(). But nothing urgent, and no immediate use. / magnus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/