Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp839695imj; Fri, 15 Feb 2019 07:39:48 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibdrd5m4Z0d2lltuCTa1TfE+RFGk5YkwJ9v8+aICmbK7U7FOpLbP0e7QT8jwd4kK1Ze+O3P X-Received: by 2002:a63:6c01:: with SMTP id h1mr5998117pgc.330.1550245188638; Fri, 15 Feb 2019 07:39:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550245188; cv=none; d=google.com; s=arc-20160816; b=zeBWgyK8NtevZ2B8HCVjCGTejdIP2q01CR3Gdii1UMZ9YMstuDKAYiKS/5N3YyPtf7 aoMtVGsT2i431iVGHrf/O94zaR9TzyrGemrDi/IkNS6eZtewLt024ayNAdsKU0ZwsxB3 /PSK3N08xZAdDsYCHvTAUPGuHMmaBHQhkrs0f8VVSYml0o+V9B69eqE+EBIgtOCKVGEY gOxTSBicd8HmM2S+gdojeTU5U5fBJCXb6+kP02brIeEN6AgHTiYN8MHgBFslA+znihTg VHoucMtJb5pCElyBtL1BtWc7cvoJxUkGJf7BkJUkKJp+QkeChUyrwjk3FePNW8Ry1NPY 7qDg== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=aaZO8Mdc1ReUp2Fz+ZQDBWwECBT17MeQZdHh/dlwWn4=; b=UhMOGU/LqwDhfvvcGNAdDCko0vUYfP0QDme0SMuvuykmw6DwczOfJwkU3o4CXuvOI2 LuWiOkXcjqcKv4oF8n7ZlpJuaw+vR24f0CzOTOF5p+f3UrAf2pRmD7YjjoPyplfvAx2e ZLue2BU+dp80MVkm9YS9FX9lBrGpczRSoYX0JWsNnyYrtzhsWys/uhVk+F0H024VAiwE XwWSnFP7y6QPo5B+ex+z4lX40r/a/cgJwPff4ST9WOImScRHErlVuuxMKQGDzS2XHSQa lk8WONvYCGLdy970VhHSnbkZUZ/ULbUElrg2V8kGVekP4KV7q+u3rgtKr34geYEjPxtN MsRw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si5986599plg.291.2019.02.15.07.39.32; Fri, 15 Feb 2019 07:39:48 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391917AbfBOJAI (ORCPT + 99 others); Fri, 15 Feb 2019 04:00:08 -0500 Received: from mga07.intel.com ([134.134.136.100]:53675 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbfBOJAI (ORCPT ); Fri, 15 Feb 2019 04:00:08 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Feb 2019 01:00:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,372,1544515200"; d="scan'208";a="319261848" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 15 Feb 2019 01:00:05 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 15 Feb 2019 01:00:04 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 15 Feb 2019 01:00:03 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.207]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.172]) with mapi id 14.03.0415.000; Fri, 15 Feb 2019 17:00:01 +0800 From: "Wang, Wei W" To: 'Like Xu' , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "pbonzini@redhat.com" , "ak@linux.intel.com" , "peterz@infradead.org" CC: "Liang, Kan" , "mingo@redhat.com" , "rkrcmar@redhat.com" , "Xu, Like" , "jannh@google.com" , "arei.gonglei@huawei.com" , "jmattson@google.com" Subject: RE: [PATCH v5 10/12] KVM/x86/lbr: lazy save the guest lbr stack Thread-Topic: [PATCH v5 10/12] KVM/x86/lbr: lazy save the guest lbr stack Thread-Index: AQHUxEm+u4LNnDlAjkSk6RajZ9qMLKXfkrqAgADETHA= Date: Fri, 15 Feb 2019 09:00:00 +0000 Message-ID: <286AC319A985734F985F78AFA26841F73DF71F0B@shsmsx102.ccr.corp.intel.com> References: <1550135174-5423-1-git-send-email-wei.w.wang@intel.com> <1550135174-5423-11-git-send-email-wei.w.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGNmNmVlOTktZDViMC00YmZmLWE2ZTQtZDZkNzNhNGUwYzQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZWtJS2w2b1o0cDg0ckFcL0NCYTZ2b3E1eU5WemNHOTlGZGdEWXU0NFA2TWwxWHhpcWdcL2lJRHI0enIzbDJNV0tGIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpZGF5LCBGZWJydWFyeSAxNSwgMjAxOSA5OjUwIEFNLCBMaWtlIFh1IHdyb3RlOg0KPiBU bzogV2FuZywgV2VpIFcgPHdlaS53LndhbmdAaW50ZWwuY29tPjsgbGludXgta2VybmVsQHZnZXIu a2VybmVsLm9yZzsNCj4ga3ZtQHZnZXIua2VybmVsLm9yZzsgcGJvbnppbmlAcmVkaGF0LmNvbTsg YWtAbGludXguaW50ZWwuY29tOw0KPiBwZXRlcnpAaW5mcmFkZWFkLm9yZw0KPiBDYzogTGlhbmcs IEthbiA8a2FuLmxpYW5nQGludGVsLmNvbT47IG1pbmdvQHJlZGhhdC5jb207DQo+IHJrcmNtYXJA cmVkaGF0LmNvbTsgWHUsIExpa2UgPGxpa2UueHVAaW50ZWwuY29tPjsgamFubmhAZ29vZ2xlLmNv bTsNCj4gYXJlaS5nb25nbGVpQGh1YXdlaS5jb207IGptYXR0c29uQGdvb2dsZS5jb20NCj4gU3Vi amVjdDogUmU6IFtQQVRDSCB2NSAxMC8xMl0gS1ZNL3g4Ni9sYnI6IGxhenkgc2F2ZSB0aGUgZ3Vl c3QgbGJyIHN0YWNrDQo+IA0KPiBPbiAyMDE5LzIvMTQgMT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