All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: "Han, Weidong" <weidong.han@intel.com>, xen-devel@lists.xensource.com
Cc: "Kay, Allen M" <allen.m.kay@intel.com>
Subject: Re: [VTD] 1:1 mapping for dom0 exhausts xenheap on x86/32 with 4G memory
Date: Fri, 28 Sep 2007 07:41:55 +0100	[thread overview]
Message-ID: <C32260C3.E23A%keir@xensource.com> (raw)
In-Reply-To: <08DF4D958216244799FC84F3514D70F00ABA9C@pdsmsx415.ccr.corp.intel.com>

alloc_domheap_page() instead of alloc_xenheap_page(), and use
map_domain_page() to get temporary mappings when you need them. This costs
nothing on x86/64, where all memory is permanently mapped. Or it is *very*
reasonable to only support vt-d on x86/64 hypervisor. That's the
configuration we care about by far the most, since 32-bit guests run fine on
a 64-bit hypervisor, and of course all vt-d systems will be 64-bit capable.

 -- Keir

On 28/9/07 06:26, "Han, Weidong" <weidong.han@intel.com> wrote:

> xenheap size is 9M on x86/32 xen, it's not enough to setup 1:1 page
> tables for dom0. It causes dom0 cannot boot successfully. Setup 1:1 page
> table in domheap still might be a problem since the thinking is to use
> the same 1:1 page table for both dom0 and PV domains. Currently I think
> of two options: 1) go back to original method, that's to say setup page
> table dynamically for dom0; 2) increase xenheap size on x86/32. How do
> you think about? Thanks.
> 
> Weidong

  reply	other threads:[~2007-09-28  6:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  5:26 [VTD] 1:1 mapping for dom0 exhausts xenheap on x86/32 with 4G memory Han, Weidong
2007-09-28  6:41 ` Keir Fraser [this message]
2007-09-28  7:28   ` Han, Weidong
2007-09-28  7:41     ` Keir Fraser
2007-09-28  7:51       ` Han, Weidong
2007-09-28  7:59         ` Keir Fraser
2007-09-28  8:00           ` Han, Weidong

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=C32260C3.E23A%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=allen.m.kay@intel.com \
    --cc=weidong.han@intel.com \
    --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.