From: Mark McLoughlin Subject: Re: [PATCH 0/3] xen: Fix oops when mapping/unmapping addr above 1Gb Date: Wed, 02 Apr 2008 15:35:43 +0100 Message-ID: <1207146943.11911.1.camel@muff> References: <1206722297-11763-1-git-send-email-markmc@redhat.com> <20080331131442.GF14636@elte.hu> <47F0FB5F.2000908@goop.org> Reply-To: Mark McLoughlin Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47F0FB5F.2000908@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Ingo Molnar , xen-devel@lists.xensource.com, Thomas Gleixner , linux-kernel@vger.kernel.org, "H. Peter Anvin" List-Id: xen-devel@lists.xenproject.org On Mon, 2008-03-31 at 07:55 -0700, Jeremy Fitzhardinge wrote: > Ingo Molnar wrote: > > * Mark McLoughlin wrote: > > > >> In Fedora rawhide we're currently seeing oopses whenever a > >> processes dlopen()s a library which prelink() has previously relocated > >> above 1Gb. Some more details at: > >> > >> https://bugzilla.redhat.com/436453 > >> > >> The issue seems to be that during xen_pgd_pin(), we only pin > >> PTE pages, but xen's release_pmd() tries to unpin PMD pages too. > >> > >> The following series of patches is against the latest x86 > >> tree. > >> > > > > thanks, i've picked them up to get them tested - but it would be nice to > > have an ack from Jeremy as well. This seems like v2.6.25 material as > > well, right? > > Didn't I reply? Anyway, the patch looks good. It's definitely 2.6.25 > material; its fallout from the changes I did to dynamically > allocate/deallocate pmds rather than always do them with the pgd. Okay, here are the patches rebased to 2.6.25-rc8. I've reproduced the issue with plain -rc8 and confirmed the patches fix it. Cheers, Mark.