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

xen-devel

[Top] [All Lists]

[Xen-devel] using PageForeign for pte allocation vs. shortcutting __pte_

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] using PageForeign for pte allocation vs. shortcutting __pte_free_tlb()
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: 2007年1月09日 10:21:39 +0000
Delivery-date: 2007年1月09日 02:19:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
In the course of trying to get CONFIG_HIGHPTE to work I stumbled across this
inconsistency between i386 and x86-64 Linux: i386 uses SetPageForeign() in
(one the non-highpte) case of pte_alloc_one(), and leaves intact native's
definition of __pte_free_tlb(), whereas x86-64 doesn't use the former but
shortcuts the latter to just invoke pte_free(). Obviously it would be nice for
these two to be consistent, the question just is which of the two behaviors
is more desirable: Obviously, performance wise using the PageForeign
mechanism would be preferable, but delta-to-native-wise I would think this
is the less desirable solution.
Thanks for any thoughts or suggestions,
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] xc_domain_translate_gpfn_list vanished from unstable , Tomas Kouba
Next by Date: Re: [Xen-devel] Xen 3.0.4 - Ballooning , Sébastien RICCIO
Previous by Thread: [Xen-devel] Slow Disk io , James Rivera
Next by Thread: Re: [Xen-devel] using PageForeign for pte allocation vs. shortcutting __pte_free_tlb() , Gerd Hoffmann
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /