public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: __supported_pte_mask breaks PROT_NONE pages
Date: Wed, 04 Feb 2009 21:40:51 -0800	[thread overview]
Message-ID: <498A7BE3.40405@zytor.com> (raw)
In-Reply-To: <498A5002.9080408@goop.org>

[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.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


  reply	other threads:[~2009-02-05  5:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05  2:33 __supported_pte_mask breaks PROT_NONE pages Jeremy Fitzhardinge
2009-02-05  5:40 ` H. Peter Anvin [this message]
2009-02-05 14:28   ` Ingo Molnar
2009-02-05 14:29 ` Ingo Molnar
2009-02-05 17:23   ` Jeremy Fitzhardinge
2009-02-05 17:30     ` Ingo Molnar
2009-02-05 18:00       ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=498A7BE3.40405@zytor.com \
    --to=hpa@zytor.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox