3 messages in com.xensource.lists.xen-ia64-develRE: [Xen-ia64-devel] shared_info and ...
FromSent OnAttachments
Tristan Gingold15 May 2006 01:16 
Tian, Kevin15 May 2006 01:58 
Tristan Gingold15 May 2006 04:52 
Subject:RE: [Xen-ia64-devel] shared_info and privregs
From:Tian, Kevin (kevi@intel.com)
Date:05/15/2006 01:58:39 AM
List:com.xensource.lists.xen-ia64-devel

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, Kevin