All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: Is machine_to_phys_mapping a 4MB 'superpage'?
Date: Thu, 31 Mar 2005 00:47:52 -0800	[thread overview]
Message-ID: <424BB938.805@diku.dk> (raw)
In-Reply-To: <0bed8e482147a6f9f1ca051edf6b03b5@cl.cam.ac.uk>

Keir Fraser wrote:
> 
> On 31 Mar 2005, at 04:25, Jacob Gorm Hansen wrote:
> 
>> The machine_to_phys_mapping table is mapped permanently at 0xFC000000 
>> (on x86-32). I would like to experiment with letting the domU map it 
>> at other locations in its virtual address space, but I suppose that 
>> for performance it is mapped as a 4MB 'super' page, and as such needs 
>> special treatment, is this correct?
> 
> 
> It doesn't *have* to be mapped as a superpage -- control tools don't 
> when doing suspend/resume, for example. Fixing the permission checking 
> so that other than domain0 can remap the m2p table shouldn't be very 
> hard, but I'm not sure what the cleanest method would be.

actually I would just like for domUs to be able to map it in different 
locations, in order to get a little more flexible memory layout.

I will probably just try and hack something up for my immediate needs.

Jacob

  reply	other threads:[~2005-03-31  8:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31  3:25 Is machine_to_phys_mapping a 4MB 'superpage'? Jacob Gorm Hansen
2005-03-31  7:52 ` Keir Fraser
2005-03-31  8:47   ` Jacob Gorm Hansen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-31 10:44 Ian Pratt

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=424BB938.805@diku.dk \
    --to=jacobg@diku.dk \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.