Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2082727imm; Thu, 20 Sep 2018 07:32:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZqSwYOfykr72GszCHhGfmmfefBYK7uksO/QOqkd3lS41KErEUBkrGS9nVgoCMUg953PU6J X-Received: by 2002:a62:4704:: with SMTP id u4-v6mr42326320pfa.76.1537453930250; Thu, 20 Sep 2018 07:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537453930; cv=none; d=google.com; s=arc-20160816; b=k2QZSBDQCOzDeHefXyXzETe4SWMZT5sljHt/tEPWRRyYxgTAGwPHqka+uHURYCEHGq 8bja0WdWFlXmbfdXU9xuZhtMM3BLvMTPSPzQGTClJkI8czBga0taW4rfVRVpappWeeI4 m3YGss+qIhzNXa6Y29TAzUWNfiLHx1+fKG4vDTIDCTC3SPwDaiELYZTRBeYqhQxd8iY8 ufnFI4Wxz8FzY/RflUGgZYTOlFwCZQbhXhmM+vjnwDOsefrLGqZ2HElUmwi+x4UwjK4K 8KyfJEvFVRHtlACE1hLs94xH39kwpKMAbk6Nb3QRSwYgRjvYL4iwVkBL39GMsBvMzEx4 ojpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=PxjatOhAYfLbdp1WrsIrm/27kWsLUGuG6ZgYi0COPLE=; b=Wf9wE5+LsoFSJnycozrlI1QMSpugVEZzM5J7pCuNInSoiSNNNQl2O76pGni7BBt6aB uwgfSubucIrDO49RLlXZVWHdDSnC5kvE01kOFxMXtM52KRMxqNlynIFskzjmOjTFg39U K+kyuKAnXRc7hY2Z0MQBScoJiwnvAGvwOhNZQyNYpxtep+HvGtMsgBrIj1B1cuPsfDlD amvZpQ1UsTgDyTPLFcsyIk2mEID1L85xCopuLZgbZHlayruu7MU3/kyVu3c1MKCEjuXK mWPPWCbpkB6aJWeoj6nqjOYsboH8ZnWgsICmmiBnawfpAnVIbOKUdS4lLTlfdvHX5GT8 cuSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DqkDcjco; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33-v6si24719246pld.180.2018.09.20.07.31.54; Thu, 20 Sep 2018 07:32:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=DqkDcjco; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732857AbeITUOF (ORCPT + 99 others); Thu, 20 Sep 2018 16:14:05 -0400 Received: from mail-eopbgr1300094.outbound.protection.outlook.com ([40.107.130.94]:55552 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387437AbeITUOF (ORCPT ); Thu, 20 Sep 2018 16:14:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PxjatOhAYfLbdp1WrsIrm/27kWsLUGuG6ZgYi0COPLE=; b=DqkDcjcoYhKZ3loQ03MXSL9WMQJGHERrnGkmCGEGK2JjdKjFOK2k4nbHJXJOwEAN8H+MsJjYQDhvvFFSPhwVPvL3v0z8xLtIcrFYE9iMJVdg2fpLtsvgrUcsiwDFLyZSUv1QJni6XwzW3K6dL7wyNvE6L2I8dQlPtXTV8s4/qUI= Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM (52.133.156.18) by HK0P153MB0161.APCP153.PROD.OUTLOOK.COM (52.133.156.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.5; Thu, 20 Sep 2018 14:30:15 +0000 Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267]) by HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267%3]) with mapi id 15.20.1185.010; Thu, 20 Sep 2018 14:30:15 +0000 From: Tianyu Lan To: "Michael Kelley (EOSG)" , Tianyu Lan CC: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "pbonzini@redhat.com" , "rkrcmar@redhat.com" , "devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , vkuznets , Jork Loeser Subject: Re: [PATCH V2 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range() Thread-Topic: [PATCH V2 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range() Thread-Index: AQHUTv5JxXHYarz6dEerAeTlEED0BKT3yCcAgAF2swA= Date: Thu, 20 Sep 2018 14:30:14 +0000 Message-ID: <53f4c88b-14b7-c5b1-9690-1aad98cf56d4@microsoft.com> References: <20180918031754.113013-1-Tianyu.Lan@microsoft.com> <20180918031754.113013-5-Tianyu.Lan@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tianyu.Lan@microsoft.com; x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HK0P153MB0161;6:m7qd6sN0ep1HsYz5lvHr390WO92IzSXn1rkhLTgPDzjPDYs73VZ2sBB7WsB528PC3MISTFIqSUQ2ZSfXcOrAVQZU8tNsPvI4frzcwbFNf5EAySDs1cD6C9/JqmZAhDX8oxBRgKJLl25or9qalB0F8lDKmmSUEFdmHV1/8a8X44s1JFWyaaREJ9AVZPwFFJyTo39R7oFdAGP43q5fXYYUY6YZ9cK8oEX/eolqNXRzQ2s7ulUcOtJDQ3x4xLOr9XyDf+oMAws516VA/cJ2L+B61bCLZi/hxTVKmgbUo/osv6OVrC6ac4FOTR5s3xkUEaV7p973vZkc2JoLA6u0XkEdHw8WwMV1FxBg5+Mtv/mnJOEfKD2VjASQlpOxIbPyNUeNM/BS4H08wLWOxFaQzR703RwnFA5GoNiKaPXn08EqshBdt5hvgZMheuwiWlLSTi6WAHcAD1sc+sGQnpqFZ5DDIw==;5:7jngPUlR+QwKCbfffmNX3giLl6H+j8MTJrtlvpmq1Vy/ZxEwlHBkUKhLlSXz1FwTqDNDCORoXL1eZS4be0g2Uy+rza/Mf56gnLu5wy3UflAZYa2O2shO+/S9pglUmx1PugCMXIsWdaIVUtylyO974quCJp/aeG7j3kbc+MUL7e0=;7:VE+AaUMtGQDpX0m+RIxM+m6bmD8QdfNbAFJr8NVF/buWpsSrHxB/JAq964l2tNBMBTlkdc6TIJeAd97Cuv5Q1bNuFBLPFRGZcUldOq4pXdvN3hBnnFFBPbkU87qHdZtDsaH+vS6Ucn7MGOWaCnT5OaxQ38uSlyfFDQHGJaK9ijm+d2ZJr04H2BQcZxyUieeNY3D85Y/VXkq/um/cnq5ugha/7GzdyPoTWQ9SmH66tCUvBmszWuT6YzPUEphHQQKn x-ms-office365-filtering-correlation-id: 5ec9abcf-e61c-4855-eba0-08d61f0594d1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HK0P153MB0161; x-ms-traffictypediagnostic: HK0P153MB0161: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051);SRVR:HK0P153MB0161;BCL:0;PCL:0;RULEID:;SRVR:HK0P153MB0161; x-forefront-prvs: 0801F2E62B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(136003)(366004)(376002)(346002)(39860400002)(199004)(189003)(10090500001)(107886003)(11346002)(31686004)(4326008)(97736004)(25786009)(36756003)(486006)(446003)(68736007)(476003)(2616005)(22452003)(110136005)(85306007)(81156014)(105586002)(81166006)(256004)(106356001)(5660300001)(76176011)(6246003)(71190400001)(8676002)(53936002)(6436002)(31696002)(1511001)(71200400001)(6486002)(86612001)(2900100001)(478600001)(316002)(102836004)(6512007)(2906002)(66066001)(99286004)(8936002)(54906003)(6116002)(3846002)(14454004)(229853002)(6506007)(53546011)(305945005)(5250100002)(7736002)(86362001)(26005)(7416002)(72206003)(10290500003);DIR:OUT;SFP:1102;SCL:1;SRVR:HK0P153MB0161;H:HK0P153MB0129.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ZGM7X7fMIQ1/73xAq4erMsJIPQhyWEBrZl4NWB0aWHWrmuQoDyagC3Nvf6ZdKap5oiXEUkSffEgkG1aENlwDGnt+JAqAIN8UcNgWkoVTKJLqK/agu0a8ratjNmKvcRlbbtu0O3YZ8Ss/R4aBX0CdwfBMHtvc1u8icTicjW3aWF64chZZKO3hIq7I6XT1PWXL/UEpOSybeO3a1E+WHXF2rq4QKW9fDDinlKrp8AiSPFMzQDgrd+lHoFlpkHnZH5BUd4Fcx2uFaF+0SHX+kX+tc7a4K4xB066uyAahAXIgeLDAcV7037Na5hkbMB+KTy6P3fffIFie++h8mAqf7Qywxujuf/vzZwIzwoa17R8a2OE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ec9abcf-e61c-4855-eba0-08d61f0594d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2018 14:30:14.5972 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0P153MB0161 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gOS8yMC8yMDE4IDEyOjA4IEFNLCBNaWNoYWVsIEtlbGxleSAoRU9TRykgd3JvdGU6DQo+IEZy b206IFRpYW55dSBMYW4gIFNlbnQ6IE1vbmRheSwgU2VwdGVtYmVyIDE3LCAyMDE4IDg6MTkgUE0N Cj4+ICsNCj4+ICsJCQlpZiAocmV0ICYmIGt2bV9hdmFpbGFibGVfZmx1c2hfdGxiX3dpdGhfcmFu Z2UoKSkgew0KPj4gKwkJCQlrdm1fZmx1c2hfcmVtb3RlX3RsYnNfd2l0aF9hZGRyZXNzKGt2bSwN Cj4+ICsJCQkJCQlnZm5fc3RhcnQsDQo+Pi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