mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: "Ingo Molnar" <mingo@elte.hu>,
	"Venkatesh Pallipadi" <venkatesh.pallipadi@intel.com>,
	"Thomas Gleixner" <tglx@linutronix.de>, <hpa@zytor.com>
Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, <linux-kernel@vger.kernel.org>
Subject: Why can't _PAGE_PROTNONE be _PAGE_ACCESSED?
Date: Fri, 15 Aug 2008 11:25:23 +0100	[thread overview]
Message-ID: <48A575B3.76E4.0078.0@novell.com> (raw)

With the overlaying of _PAGE_PSE and _PAGE_PAT there is a latent issue
with the definition of _PAGE_PROTNONE: As soon as _PAGE_PAT gets
actively used, it'll need to become part of _PAGE_CHG_MASK, and hence
_PAGE_PROTNONE cannot use _PAGE_PSE anymore. One option certainly
is to use one of the two remaining unused (available) bits, but it would
seem to me that simply using _PAGE_ACCESSED here ought to work - but
perhaps I'm overlooking some critical aspect?

The background of this is that Xen's dom0 (and similarly DomU-s that have
physical devices assigned) cannot change the setting in PAT_MSR, and
hence has to live with being required to use _PAGE_PAT for establishing
WC mappings. That'll be a requirement for Dom0 and pv pass-through
support in the mainline tree (whenever that gets enabled) anyway, but
I'll have to do it eagerly in our forward-ported Xen tree, which is why I'm
trying to settle early on the route to take here.

Thanks, Jan


                 reply	other threads:[~2008-08-15 10:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=48A575B3.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=hpa@zytor.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=venkatesh.pallipadi@intel.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

all inboxes | Powered by JetHome®