WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] shared_info and privregs

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] shared_info and privregs
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Mon, 15 May 2006 13:52:42 +0200
Delivery-date: Mon, 15 May 2006 04:48:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7C27@pdsmsx403>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <571ACEFD467F7749BC50E0A98C17CDD8094E7C27@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Lundi 15 Mai 2006 10:59, Tian, Kevin a écrit :
> From: Tristan Gingold
>
> >Sent: 2006年5月15日 16:17
> >Hi,
> >
> >currently shared_info and privregs are allocated on xenheap.
> >I propose to allocate them on domheap and to map these pages on
> >domain pseudo
> >physical memory.
> >I think this is more logical and will help for save and restore (make them
> >accessible by dom0).
> >
> >Comments ?
> >
> >Tristan.
>
> Hi, Tristan,
>       Following link talks some background about why shared_info is
> allocated from xenheap:
> http://lists.xensource.com/archives/html/xen-devel/2006-01/msg00258.html
>       For xen/ia64, to allocate shared_info from domheap faces less
> boring issues as x86, but you have to consider several common issues
> like refcnt or domain statistic accounting mentioned from the thread. I
> believe those can be worked around, but you may check whether worthy
> of doing that. :-)
>
>       BTW, it may be a good idea to add shared_info page (even from
> xeneheap) into the domain's pseudo memory space, especially when
> current ia64 dom0 is based on p!=m model. In that way, dom0 can simply
> map all domain's memory including shared_info by uniform interface.
>
>       Hope helps a bit.
Thanks.

My conclusion is simple: stay in xenheap, but add them into domain memory 
space.

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>