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

[Xen-ia64-devel] [PATCH] [RFC] domU destroy & page ref counter [1/2]

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] [RFC] domU destroy & page ref counter [1/2]
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 02 Mar 2006 21:03:10 +0900
Delivery-date: Thu, 02 Mar 2006 12:03:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

We show below a summary of this patch. Please review this patch,
and give us comment.

SUMMARY:
diff -r b4f1084177cc xen/arch/ia64/xen/domain.c
        @@ -49,6 +49,7 @@
        /**** for using flush_tlb_all() in arch_domain_destroy() ****/

        @@ -80,9 +81,33 @@ static void init_switch_stack(struct vcp
        /**** arch_domain_destroy(): free structure allocated 
                in arch_domain_create() ****/

        @@ -201,6 +226,8 @@ struct vcpu *alloc_vcpu_struct(struct do
        /**** free_vcpu_struct: free structure allocated 
                in alloc_vcpu_struct() ****/

        @@ -253,6 +280,7 @@ int arch_domain_create(struct domain *d)
        /**** arch_domain_create(): initialize list_head which is added 
                for managing page table into struct mm_struct ****/

        @@ -324,10 +352,71 @@ int arch_set_info_guest(struct vcpu *v, 
        /**** relinquish_memory(): port from x86 as-is for using 
                in domain_relinquish_resoures() but, using "#if 0" 
                at the process concerned about page table. ****/
        /**** domain_relinquish_resources(): the same as x86 
                except process not concerned about ia64. 
                At the result, only relinquish_memory()s remain ****/

        @@ -402,7 +491,7 @@ struct page * assign_new_domain_page(str
        /**** assign_new_domain_page(): fix for connecting struct page to 
                pt_list added in mm_struct. In the time of freeing page 
                table at destroy, freeing page table by using loop 
                everyone is more efective than by using list ****/

        @@ -414,16 +503,28 @@ struct page * assign_new_domain_page(str
        /**** assign_new_domain_page(): fix for connecting 
                struct page to pt_list added in mm_struct ****/

        @@ -456,6 +557,7 @@ void assign_domain_page(struct domain *d
        /**** assign_domain_page(): fix for connecting struct page 
                to pt_list added in mm_struct ****/

        @@ -467,16 +569,28 @@ void assign_domain_page(struct domain *d
        /**** assign_domain_page(): fix for connecting 
                struct page to pt_list added in mm_struct ****/

diff -r b4f1084177cc xen/arch/ia64/xen/regionreg.c
        @@ -157,7 +157,6 @@ int deallocate_rid_range(struct domain *
        /**** deallocate_rid_range(): fix for returning rid ****/

diff -r b4f1084177cc xen/include/asm-ia64/domain.h
        @@ -103,6 +103,8 @@ struct mm_struct {
        /**** struct mm_struct(): list_head of managing page table ****/

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan, and Fujitsu team

Attachment: destroy.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] [RFC] domU destroy & page ref counter [1/2], Masaki Kanno <=