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

Re: [Xen-devel] [PATCH 3/5] svm: implement instruction fetch part of Dec

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/5] svm: implement instruction fetch part of DecodeAssist
From: Keir Fraser <keir@xxxxxxx>
Date: Mon, 18 Apr 2011 13:37:21 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 18 Apr 2011 05:38:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=c2wQnuwFBTajPkui9U3CZGxjE3KJuStDnJy1Rm8qOWs=; b=RXhHE6kP0LVQyIwiDZZ7osx9BiFDX5vT45oHdstBN0/qznkWEiB5K+DnffS6y5pGZe ITCbvgaeJcsopol2AP/QlajDKzAyn34NERo4MrSfKIvnEkBFxlNd+ydGq/+txC2v1Wxh CgkEffc/CrVJndwKg1owe5i3sw+wU8/AyGQ3c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=KxCEx0eTSLQVMKqbZVYdFxDlC8jGGHp1cPU53Kqn6pphjzG6i3gEO+kIa6uLvWr5qF stgbwxn/VLSwhe+jtfg4B1w6f4muQjVoUpLK4cgpXlkH1t0jPhfGDxeBFoA8PouttJQV 36iSowgL6BloZqNKEW2pGYBOBLuK/Nb38LbUs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DA83889.5060306@xxxxxxx>
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
Thread-index: Acv9xVxaW9U0W/Kvck+9Xef16/KwWA==
Thread-topic: [Xen-devel] [PATCH 3/5] svm: implement instruction fetch part of DecodeAssist
User-agent: Microsoft-Entourage/12.29.0.110113
On 15/04/2011 13:22, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:

> Newer SVM implementations (Bulldozer) copy up to 15 bytes from the
> instruction stream into the VMCB when a #PF or #NPF exception is
> intercepted. This patch makes use of this information if available.
> This saves us from a) traversing the guest's page tables, b) mapping
> the guest's memory and c) copy the instructions from there into the
> hypervisor's address space.
> This speeds up #NPF intercepts quite a lot and avoids cache and TLB
> trashing.

Rewritten quite a bit and applied as c/s 23238. You probably should check it
still works and with the performance improvement you expect. :-)

 -- Keir

> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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