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 [2/2]

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] [RFC] domU destroy & page ref counter [2/2]
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 02 Mar 2006 21:03:28 +0900
Delivery-date: Thu, 02 Mar 2006 12:03:53 +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/xenmisc.c
        @@ -147,12 +147,17 @@ void init_percpu_info(void)
        /****   only declare free_page_type() because 
                put_page_type() is used ****/
        /****   only declare alloc_page_type() because 
                get_page_type() is used ****/

        @@ -415,3 +420,203 @@ void sync_split_caches(void)
        /****   MEMLOG: porting from x86 becase 
                get_page_type() is used ****/
        /****   cleanup_writable_pagetable: only declare 
                because get_page_type() is used ****/
        /****   put_page_type: port from x86 as-is ****/
        /****   get_page_type: port from x86 as-is ****/

diff -r b4f1084177cc xen/include/asm-ia64/mm.h
        @@ -41,32 +41,33 @@ struct page
        /****   struct page: moving the following place 
                for avoiding non-alignment falut 
                (the same as x86) ****/
        /****   struct page: packed for alignment of 
                cout_info and _domain (the same as x86) ****/

        @@ -94,8 +95,15 @@ struct page
        /****   struct page: port from x86 as-is ****/

        @@ -138,7 +146,6 @@ extern unsigned long gmfn_to_mfn_foreign
        /****   put_page(): delete #ifdef VALIDATE_VT ****/

        @@ -149,14 +156,12 @@ static inline void put_page(struct page_
        /****   get_page(): delete #ifdef VALIDATE_VT ****/

        @@ -172,14 +177,13 @@ static inline int get_page(struct page_i
        /****   get_page(): adding cast u64 due to use 
                8byte cmpxchg ****/

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

Best regards,
 Kan, and Fujitsu team

Attachment: page-ref-counter.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>