From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 3/5] svm: implement instruction fetch part of DecodeAssist Date: Mon, 18 Apr 2011 13:37:21 +0100 Message-ID: References: <4DA83889.5060306@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DA83889.5060306@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andre Przywara Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 15/04/2011 13:22, "Andre Przywara" 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 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel