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] Shadow dirty-VRAM: avoid multiple remove_all_mapping

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Shadow dirty-VRAM: avoid multiple remove_all_mappings calls.
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Fri, 23 Oct 2009 11:19:07 +0100
Delivery-date: Fri, 23 Oct 2009 03:19:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
sh_remove_all_mappings() will walk roughly half of the shadow L1 tables
for each MFN it's called with; calling it for every MFN in a guest's
framebuffer can be _very_ expensive, especially with the shadow lock
held across the whole operation.  Avoid that by just blowing away all
the shadows.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

Attachment: dirty-vram-timing
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Shadow dirty-VRAM: avoid multiple remove_all_mappings calls., Tim Deegan <=