Re: [PATCH 0/3] xen: Fix oops when mapping/unmapping addr above 1Gb

From: Mark McLoughlin
Date: Wed Apr 02 2008 - 10:36:31 EST


On Mon, 2008-03-31 at 07:55 -0700, Jeremy Fitzhardinge wrote:
> Ingo Molnar wrote:
> > * Mark McLoughlin <markmc@xxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/