lkml.org 
[lkml]   [2015]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: svm: make wbinvd faster
On Tue, Mar 10, 2015 at 12:01:31PM +0100, Radim Krčmář wrote:
> 2015-03-09 20:28-0300, Marcelo Tosatti:
> > On Fri, Feb 27, 2015 at 06:19:18PM -0600, Joel Schopp wrote:
> > > From: David Kaplan <David.Kaplan@amd.com>
> > > No need to re-decode WBINVD since we know what it is from the intercept.
> > >
> > > Signed-off-by: David Kaplan <David.Kaplan@amd.com>
> > > [extracted from larger unlrelated patch, forward ported, tested]
> > > Signed-off-by: Joel Schopp <joel.schopp@amd.com>
> >
> > Can't you disable the intercept if need_emulate_wbinvd(vcpu) == false?
>
> I don't think we want to: it should be faster to intercept and ignore
> than to invalidate all caches. The exit doesn't affect other physical
> cores and costs just about 10(?) L3 cache misses.

Yes, right.



\
 
 \ /
  Last update: 2015-03-11 00:01    [W:0.072 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site