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] [RESEND] domU destroy & page ref counter

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] [RESEND] domU destroy & page ref counter
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Sat, 11 Mar 2006 14:37:03 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 11 Mar 2006 05:37:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF380955@pdsmsx405>
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: <2BF508F394C196468CCBEC031320DCDF380955@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Anthony,

Thanks for your comments.

Xu, Anthony wrote:
>This patch is really good, community has been waiting domain destroy patch for 
>a long time.
>
>Is it appropriate time to flush vhpt and machine tlb when destroying domain?
>I have below concerns,

In fact, I have concerns same as you.

>1. This may counteract the benefit of rid partition. In my mind these flushes 
>are done only when rid reuse happens when allocating rid for a new domain.

As for this patch, page faults occurs in living domains to flush all VHPT 
and all TBL. That is I think that performance of living domains becomes bad 
temporarily. However, I thought that a serious problem did not occur so that 
entries was inserted in VHPT and TLB again.
Because xen/ia64 was not able to destroy a domain for a long time, I made 
this patch to be able to destroy a domain as possible simply.
I think that I have to remake an allocation logic of RID to take the benefit 
of RID partition. I think that this remaking is assignment given me.

Best regards,
 Kan

>2. When migration is enabled, VMM may need to flush vhpt and TC in all 
>processors.
>
>Thanks,
>-Anthony 
>
>>-----Original Message-----
>>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Masaki Kanno
>>Sent: 2006定3埖10晩 9:38
>>To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>>Subject: [Xen-ia64-devel] [PATCH] [RESEND] domU destroy & page ref counter
>>
>>Hi,
>>
>>We resend these patches. We made these patches to the latest changeset:9161,
>>and reflected comments.
>>We tested the creation and the destruction of domU repeatedly 100 times.
>>As a result, there was not the memory which was not freed in xen/ia64.
>>Please apply these patches to the xen-ia64-unstable tree.
>>
>>Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
>>Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
>>
>>Best regards,
>> Kan, and Fujitsu team
>
>


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