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] fix the ia64 p2m semantic

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] [PATCH] fix the ia64 p2m semantic
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 23 Mar 2007 11:40:28 +0900
Delivery-date: Thu, 22 Mar 2007 19:39:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070323023834.GG18975%yamahata@xxxxxxxxxxxxx>
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: <20070323023834.GG18975%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
forgot to attach the patch.

On Fri, Mar 23, 2007 at 11:38:34AM +0900, Isaku Yamahata wrote:
> Make the semantic same as the x86 one.
> So far the ia64 p2m has the semantic similar to
> (the x86 p2m) + (page reference count).
> But the differece from the x86 p2m have caused the breakage and work around.
> This patch make the ia64 p2m semantic same as x86 to solve it.
> - get_page() only for grant table page mapping and foreign domain page
>   mapping.
> - put_page() only for those pages.
> - guest_physmap_remove_page() doesn't touch PGC_allocated bit.
> 
> 
> I have to admit this patch is ugly.
> There's much room for clean up, especially get_page() right before put_page().
> But they aren't on performance critical path (memory exchange and
> decrease reservation).
> I'm rushing because I want to push this into 3.0.5.
> 
> Tsunehisa.
> I haven't tested arch_memory_op(). Could you verify it?
> 
> -- 
> yamahata
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

Attachment: 14514_d1bd4110c3b1_fix_p2m_semantic.patch
Description: Text Data

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