Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935404AbYBUWn2 (ORCPT ); Thu, 21 Feb 2008 17:43:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763265AbYBUWnQ (ORCPT ); Thu, 21 Feb 2008 17:43:16 -0500 Received: from terminus.zytor.com ([198.137.202.10]:35041 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761894AbYBUWnP (ORCPT ); Thu, 21 Feb 2008 17:43:15 -0500 Message-ID: <47BDF9C7.6040400@zytor.com> Date: Thu, 21 Feb 2008 14:23:03 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Ian Campbell CC: Jeremy Fitzhardinge , Joel Becker , Jody Belka , linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "Eric W. Biederman" , Andi Kleen , Mika Penttila Subject: Re: 2.6.25-rc1 xen pvops regression References: <20080212235404.GY7980@pimb.org> <47B2DBA5.6030001@goop.org> <20080214022744.GA4160@mail.oracle.com> <47B3F2DC.8080707@goop.org> <20080215202336.GE26034@mail.oracle.com> <1203274161.27987.6.camel@localhost.localdomain> <20080218104025.GA15899@ca-server1.us.oracle.com> <1203458366.26910.15.camel@cthulhu.hellion.org.uk> <47BBDA20.8030105@zytor.com> <1203497511.26910.39.camel@cthulhu.hellion.org.uk> <47BCA275.7000504@goop.org> <1203546597.26910.74.camel@cthulhu.hellion.org.uk> <47BDEA11.6010302@goop.org> <47BDEB57.5040203@zytor.com> <47BDEF36.8000903@goop.org> <1203631956.28436.4.camel@cthulhu.hellion.org.uk> In-Reply-To: <1203631956.28436.4.camel@cthulhu.hellion.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1967 Lines: 44 Ian Campbell wrote: > On Thu, 2008-02-21 at 13:37 -0800, Jeremy Fitzhardinge wrote: >> H. Peter Anvin wrote: >>>> Still curious about why a pagetable page is ending up in that range >>>> though. Seems like it shouldn't be possible, since we shouldn't be >>>> allowed to allocate from those pages, at least until the DMI probe >>>> has happened... Unless the early allocator is only excluded from >>>> e820 reserved pages, which would cause a problem on systems which >>>> don't reserve the DMI space... HPA? >>>> >>> I thought the problem was a Xen-provided pagetable from before Linux >>> started? >> Hm, I don't think so. The domain-builder pagetable is put after the >> kernel, so it shouldn't be under 1M. > > I can confirm that it is Linux which is allocating it. The call path: > # xm create -c debian-x86_32p-1 > Using config file "/etc/xen/debian-x86_32p-1". > Started domain debian-1 > xen_alloc_pt_init PFN f0 > Pid: 0, comm: swapper Not tainted 2.6.25-rc2 #68 > [] xen_alloc_pt_init+0x4b/0x60 > [] one_page_table_init+0x8b/0xf0 > [] paging_init+0x3bf/0x520 > [] setup_arch+0x2a4/0x410 > [] start_kernel+0x64/0x380 > [] cpu_detect+0x6f/0xf0 > [] xen_start_kernel+0x2f1/0x310 > ======================= > Entering add_active_range(0, 0, 262144) 0 entries of 256 used > Zone PFN ranges: > DMA 0 -> 4096 > What is the e820 information you feed the kernel? We should only ever allocate page tables out of available RAM, not any other type of memory (reserved or not). -hpa -- 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/