From: Mark McLoughlin Subject: Re: [PATCH] xen x86_64 and CONFIG_FLATMEM Date: Tue, 25 Jul 2006 16:23:03 +0100 Message-ID: <1153840983.11239.11.camel@localhost.localdomain> References: <1153304977.2769.19.camel@localhost.localdomain> <957e4b4e4c9ac0b26c86fe27e23e8c11@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <957e4b4e4c9ac0b26c86fe27e23e8c11@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2006-07-25 at 15:36 +0100, Keir Fraser wrote: > On 19 Jul 2006, at 11:29, Mark McLoughlin wrote: > > > With CONFIG_SPARSEMEM on xen x86_64, you get an oops in mem_init where > > it references mem_map; mem_map is only initialized with CONFIG_FLATMEM. > > > > Suggest a Kconfig change like the one attached? > > Perhaps better to forcibly disable CONFIG_NUMA if CONFIG_XEN is > enabled? We can't (yet) pick up NUMA info from Xen anyway, and it > probably enables a bunch of code that hasn't been much tested on Xen. NUMA is already disabled if CONFIG_XEN is enabled. But SPARSEMEM can be enabled even without NUMA: config ARCH_SPARSEMEM_ENABLE def_bool y - depends on (NUMA || EXPERIMENTAL) + depends on (NUMA || EXPERIMENTAL) && !X86_64_XEN Cheers, Mark.