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-devel

[Xen-devel] [PATCH] Simplify paging_invlpg when flush is not required.

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Simplify paging_invlpg when flush is not required.
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Sun, 3 Feb 2008 13:59:28 +0800
Delivery-date: Sat, 02 Feb 2008 22:01:02 -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
Thread-index: AchmKe/O98M9ImhQROaw3KDvTG8qog==
Thread-topic: [PATCH] Simplify paging_invlpg when flush is not required.
Simplify paging_invlpg when flush is not required.

New 'flush' parameter is added to paging_invlpg, to allow
caller assigning whether flush check is required. It's
wasteful to always validate shadow linear mapping if caller
doesn't check return value at all.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

Thanks,
Kevin

Attachment: invlpg.patch
Description: invlpg.patch

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