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]

Re: [Xen-devel] page table walk in xen_{create, destroy}_contiguous_regi

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] page table walk in xen_{create, destroy}_contiguous_region
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: 2006年6月29日 15:46:18 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年6月29日 06:46:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fa1766bdb58a62435375e894772defa7@xxxxxxxxxxxx>
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>
References: <44A002EC.76E4.0078.0@xxxxxxxxxx> <fa1766bdb58a62435375e894772defa7@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> Is there a particular reason why these functions need to walk the page 
>> table rather than doing a much cheaper p2m
>> translation? vstart is assumed to be in the direct mapping area anyway 
>> (otherwise the uses of __pa() in the same
>> functions wouldn't be valid).
>>
>> Thanks, Jan
>
>Looks like the walks are not really needed.
Subject: Replace page table walks by simple address calculation
Signed-off-by: jbeulich@xxxxxxxxxx 
Makes the code both smaller and faster.

Attachment: xenlinux-ccr-dcr-no-pgtable-walk.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] linux: Add fallback when XENMEM_exchange fails to replace contiguous region , Jan Beulich
Next by Date: [Xen-devel] [PATCH] linux: Slightly improve single-page contiguous region creation/destruction , Jan Beulich
Previous by Thread: Re: [Xen-devel] page table walk in xen_{create, destroy}_contiguous_region , Keir Fraser
Next by Thread: [Xen-devel] [PATCH][SVM] cleanup pin printk , Woller, Thomas
Indexes: [Date] [Thread] [Top] [All Lists]

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

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