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] 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>
Subject: [Xen-devel] Re: [PATCH] HVM/ASID: enable flush-by-ASID for HVM
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=PycXMRWmkr+16OXJT7RigNwbTS6h78I0BIK8ikusQEM=; b=borN+S6UBymjOhfs6L/0MH+Bh6SgwJACej0c7TUbN6bEILlvGg4sbjkwcEXEXWzhfd D31+hdp6m2aXpJx9z3d70hX854GdeO8b4OYGw3llmJWbbucs+o8Bp2NXxZ7Y4pKDGCNT IxdkyAxg/rJkpJqS+u2BR7KoHv64F4pfvgg+8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DD403E6.4050608@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: AcwVsBD3HXxsaWREQkeLPXB1CcPqzA==
Thread-topic: [PATCH] HVM/ASID: enable flush-by-ASID for HVM
User-agent: Microsoft-Entourage/12.29.0.110113
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

<Prev in Thread] Current Thread [Next in Thread>