Re: __supported_pte_mask breaks PROT_NONE pages

From: Ingo Molnar
Date: Thu Feb 05 2009 - 09:28:33 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> [Dropped wli from the Cc: list because holomorphy.com doesn't resolve]
>
> Jeremy Fitzhardinge wrote:
> >
> > I guess the best fix is to only apply __supported_pte_mask to present
> > ptes. This seems like the right solution to me, as it means we can
> > completely ignore the issue of overlaps between the present pte bits and
> > the non-present pte-as-swap entry use of the bits. (Patch below.)
> >
>
> It certainly looks reasonable, so I have applied this patch to
> tip:x86/urgent. However, since I'm on the way out to FOSDEM I won't be
> able to run any tests on this.

Looks good here so i pushed it out into tip:master.

Thanks,

Ingo
--
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/