[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.