Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp491531pxv; Thu, 22 Jul 2021 05:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYPoVLs+qfpZoIjsvxIkyNOqahonwhhudLkuyyyCHtabHuW7gQ8vC8fdxNnQRIbjX4utGg X-Received: by 2002:a50:f0d4:: with SMTP id a20mr54264540edm.354.1626956389853; Thu, 22 Jul 2021 05:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626956389; cv=none; d=google.com; s=arc-20160816; b=ffkp+JehF00UWNNzZx9AslnexQPNBmDu6vqbHnApEZUjTlZeFWQq1NWt3v0TfCgAHD WDU7Ro02D23DICokD8zrsMn4XWzaoAmBBlkvwYQ9q3XVgAtSgge5maKB2p6cueqLRJYg /zgd3blQGAzWa4O+mnd0L5ih0O9bbsAwDCV/2R1EHGJKuvbsm0umZkYGfaj+CTMo/ygt Lr9qBJNU8c+p1whFcVPsrW5J4Ca10GIZ0G4YsMB7lSCUlllDeivNKe8vXtjFvXFVoGMe EWSbLygpDnHqpqCxbSHqketLDdaYW2O4EEofSOGnMEdH6ZbiY9FDjhJTMW5uar/ycod8 r4KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=P0HwKkedgQMNco7BXmH4YtfrtoEY3Pdjc/dfuwkj1vU=; b=VCB+GDosnW3bQxzxUfq6e7DEttpUO6eGlX9YrJrOYjRKNG22XNokamylI/7dvth0rp plSIM647+BE75eUbbPTe7Rm3S7m7q28Z1oC37b0LPH4ZXCW0zPD4TgGqd9fybsu6pwzh V+iAXY+Gn5VEnrMIF5xKehrwlYd0s93Q4jHi/lPkmoDlmm157OMotPj8WdmwozMdtO+k zJqFnIutok4TI8ITf8suAUnCMm6CArm6mSHIK3Ifs34KYp/lQf0D7wgO1QbESRhwy0WK zjaQ/YLkLNZlLlo7jKsv+0FmALdTy26f4mXZN5mSGeAMAZhNTotCjb5099tiY08lejTw AQRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh6si5993337ejb.691.2021.07.22.05.19.27; Thu, 22 Jul 2021 05:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbhGVLgX (ORCPT + 99 others); Thu, 22 Jul 2021 07:36:23 -0400 Received: from mx21.baidu.com ([220.181.3.85]:34472 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231724AbhGVLgX (ORCPT ); Thu, 22 Jul 2021 07:36:23 -0400 Received: from BC-Mail-Ex25.internal.baidu.com (unknown [172.31.51.19]) by Forcepoint Email with ESMTPS id 7A46AD832354F75AE26A; Thu, 22 Jul 2021 20:16:54 +0800 (CST) Received: from BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) by BC-Mail-Ex25.internal.baidu.com (172.31.51.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Thu, 22 Jul 2021 20:16:54 +0800 Received: from BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) by BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 22 Jul 2021 20:16:54 +0800 Received: from BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) by BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) with mapi id 15.01.2308.014; Thu, 22 Jul 2021 20:16:54 +0800 From: "Li,Rongqing" To: Wanpeng Li CC: Paolo Bonzini , Ingo Molnar , Peter Zijlstra , kvm , LKML Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0hdIEtWTTogQ29uc2lkZXIgU01UIGlkbGUgc3RhdHVz?= =?utf-8?Q?_when_halt_polling?= Thread-Topic: [PATCH] KVM: Consider SMT idle status when halt polling Thread-Index: AQHXfr4fbqZtloIq0E2JewUw/QgE86tOkBDQgABUwoA= Date: Thu, 22 Jul 2021 12:16:53 +0000 Message-ID: <4efe4fdb91b747da93d7980c10d016c9@baidu.com> References: <20210722035807.36937-1-lirongqing@baidu.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.194.42] x-baidu-bdmsfe-datecheck: 1_BJHW-Mail-Ex16_2021-07-22 20:16:54:183 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+ID4gU01UIHNpYmxpbmdzIHNoYXJlIGNhY2hlcyBhbmQgb3RoZXIgaGFyZHdhcmUsIGhhbHQg cG9sbGluZyB3aWxsDQo+ID4gPiBkZWdyYWRlIGl0cyBzaWJsaW5nIHBlcmZvcm1hbmNlIGlmIGl0 cyBzaWJsaW5nIGlzIGJ1c3kNCj4gPg0KPiA+IERvIHlvdSBoYXZlIGFueSByZWFsIHNjZW5hcmlv IGJlbmVmaXRzPyBBcyB0aGUgcG9sbGluZyBuYXR1cmUsIHNvbWUNCj4gPiBjbG91ZCBwcm92aWRl cnMgd2lsbCBjb25maWd1cmUgdG8gdGhlaXIgcHJlZmVycmVkIGJhbGFuY2Ugb2YgY3B1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