|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [PATCH][RFC] [0/2]Consider steal time for IA64-PVdo
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
|
|
|
|
|