[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] HVM/ASID: enable flush-by-ASID for HVM


  • To: Wei Huang <wei.huang2@xxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 19 May 2011 00:05:23 +0100
  • Cc:
  • Delivery-date: Wed, 18 May 2011 16:06:45 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=VN9IRlF+sWz08UbXW4BC5305H3CmZIstUkCnEq4ol00Co0wju80n5sdoFyE+8AF6ec BruBPNZM4KwWbN7Nf6v4c4AK30pvmjQGPYnykCv0aHV67IcK68eMybh0UnHKM2aTljZt jqwXmh1Y/p770szKsc4TQe1nvWN1Xs+dfUi5Y=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcwVsBD3HXxsaWREQkeLPXB1CcPqzA==
  • Thread-topic: [PATCH] HVM/ASID: enable flush-by-ASID for HVM

On 18/05/2011 18:37, "Wei Huang" <wei.huang2@xxxxxxx> wrote:

> Hi Keir and Tim,
> 
> The attached file enables flush-by-ASID for HVM. The patch mainly
> touches asid.c file to minimize the impacts on other HVM components. We
> also keep ASID interface intact by adding core_id as part of ASID
> comparison. Please refer to the patch description for design details.
> 
> This version was tested on real hardware successfully. Please review it.

I wouldn't want to spend my time on it before knowing: What's the
performance win?

 -- Keir

> Thanks,
> -Wei
> 
>   arch/x86/hvm/asid.c           |   55
> ++++++++++++++++++++++++++++++++----------
>   arch/x86/hvm/svm/asid.c       |   24 ++++++++++++++----
>   arch/x86/hvm/svm/svm.c        |    6 ++--
>   arch/x86/hvm/vmx/vmcs.c       |    1
>   arch/x86/hvm/vmx/vmx.c        |    2 -
>   include/asm-x86/hvm/asid.h    |   14 +++++++++-
>   include/asm-x86/hvm/svm/svm.h |    1
>   include/asm-x86/hvm/vcpu.h    |    1
>   8 files changed, 81 insertions(+), 23 deletions(-)
> 
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.