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] EPT: Only sync pcpus on which a domain's vcpus might

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>, Xin Li <xin.b.li@xxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, Xiaohui Xin <Xiaohui.xin@xxxxxxxxx>
Subject: [Xen-devel] [PATCH] EPT: Only sync pcpus on which a domain's vcpus might be running
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Thu, 17 Sep 2009 18:51:56 +0100
Cc:
Delivery-date: Thu, 17 Sep 2009 10:52:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=1avPoq3Es9fKEZNzWM7C9zN0Elqp/6doXC2Md2SXVa8=; b=qLEW/OwKEPtD3uop5eVHkwXPhVhbBPfAfPNqdxgpiUB61ErrJasrPUMAh1qQPAjtBl Oxcsv4kor1gB6/V9oHJl1puZPnLJjULy/q9gs/LSsQSoc+9Suu6PukA+061KnrrGF3W6 qVSjE36GtAxA+UIBYItQAfeIC9vmZNgPSVcvo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=LZdKjPJcgbt45m20XAbwYAHQepLS/umG/VJrb0RdbOrNwvtcI7aqE5J+JZwywedXsH Wkm2NxYlcS+MwZ6PfLsZPtqIlLAKn6DuuUg0YZJn5Zzv/Yek1CLe1f59dG+LNk03XF6I 3PyJOaA7d2AsP+ijtybSqtrsXmsaxe7zBjpbk=
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
ept_sync_domain() is called whenever the p2m changes.  The current
code calls sync on all cpus; this is extremely wasteful, especially
for a single-vcpu VM on a 16-way (2x4x2) box.

This patch will only call sync on cpus where there may be dirty cpu
state.  I've done a basic test, but I'd appreciate someone from Intel
verifying that there shouldn't be any problems.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: 20090917-unstable-ept-sync.diff
Description: Text Data

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