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] [PATCH][RFC] [0/2]Consider steal time for IA64-PVdo

To: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH][RFC] [0/2]Consider steal time for IA64-PVdomain
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 7 Feb 2007 19:15:57 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Feb 2007 02:15:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200702070855.l178tVDf021490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <200702070855.l178tVDf021490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Wed, Feb 07, 2007 at 05:55:23PM +0900, Atsushi SAKAI wrote:

>  This patch intends to consider steal time accounting.
> This functionality is already implemented in x86/PV-domain.

We shouldn't duplicate same logic. Consolidate somehow.


> 1)__copy_to_guest 
> x86 implementation it uses 
> Hypercall of VCPUOP_register_runstate_memory_area at boot time 
> and __copy_to_guest(every context switch).
> 
> but IA64 case, __copy_to_guest causes overhead.
> Because currently copy_to_guest only supports for hypercall only on IA64.
> for this reason copy_to_guest uses xencomm, it makes overhead for 
> address translation.
> For this reason, I use arch_shared_info at this moment.
> This makes just copy data and less overhead.
> 
> For same type of implementation like x86,
> it needs to support copy only (not address translation) function 
> "copy_to_guest".
> If any idea suggested, I plan to rewrite this patch.
> Also some patches for copy only copy_to_guest is welcome.

- register pseudo physical address with
   VCPUOP_register_runstate_memory_area.
- xen get machine address and get_page().
- access runstate via xen straght mapping area
- when vcpu is released, put_page()

-- 
yamahata

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

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