xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Tim Deegan <tim@xen.org>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH] x86/mm: remove the linear mapping of the p2m tables
Date: Thu, 13 Sep 2012 15:42:51 +0100	[thread overview]
Message-ID: <20120913144251.GC12881@ocelot.phlegethon.org> (raw)
In-Reply-To: <5052086E020000780009B18D@nat28.tlf.novell.com>

At 15:23 +0100 on 13 Sep (1347549790), Jan Beulich wrote:
> >>> On 13.09.12 at 16:01, Tim Deegan <tim@xen.org> wrote:
> > # HG changeset patch
> > # User Tim Deegan <tim@xen.org>
> > # Date 1347544824 -3600
> > # Node ID a770d1c8448d73ccf2ec36a5322532c2e3c14641
> > # Parent  5691e4cc17da7fe8664a67f1d07c3755c0ca34ed
> > x86/mm: remove the linear mapping of the p2m tables.
> > 
> > Mapping the p2m into the monitor tables was an important optimization
> > on 32-bit builds, where it avoided mapping and unmapping p2m pages
> > during a walk.  On 64-bit it makes no difference -- see
> > http://old-list-archives.xen.org/archives/html/xen-devel/2010-04/msg00981.html 
> 
> Is that also going to remain true when we won't be able to 1:1-
> map all of the memory anymore once we break the current 5Tb
> barrier? If not, it would probably be worthwhile keeping that
> code.

Ah, 5TB is a smaller limit than I thought we had.  Yes, better leave it
alone, so.  Though TBH finding some way to use a bit more virtual
address space for Xen seems like a good idea anyway, since this won't be
the only place we'll want to avoid TLB flushes.

Tim.

  reply	other threads:[~2012-09-13 14:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 14:01 [PATCH] x86/mm: remove the linear mapping of the p2m tables Tim Deegan
2012-09-13 14:23 ` Jan Beulich
2012-09-13 14:42   ` Tim Deegan [this message]
2012-09-13 14:58     ` Keir Fraser
2012-09-13 15:08       ` Jan Beulich
2012-09-13 15:17         ` Keir Fraser
2012-09-13 15:36           ` Jan Beulich
2012-09-13 15:11       ` Tim Deegan
2012-09-13 15:18         ` Keir Fraser
2012-09-13 20:43           ` Konrad Rzeszutek Wilk
2012-09-13 21:14             ` Keir Fraser
2012-09-14 20:31               ` Konrad Rzeszutek Wilk
2012-09-14 20:55                 ` Keir Fraser

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=20120913144251.GC12881@ocelot.phlegethon.org \
    --to=tim@xen.org \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xen.org \
    /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;
as well as URLs for NNTP newsgroup(s).