From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.7375.1616165200247563833 for ; Fri, 19 Mar 2021 07:46:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KcXAZJBf; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616165199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zM+oYqB/ucPllOvn0ujhIBkJDZ2tSzSDZ1/3ZojrOek=; b=KcXAZJBfApYFsZqMbfSUz7xDIqo8eZwxD3HqHtgu0PCFigea/NzEX+N+z2TMpcZ3ZlWqyH AhYUPw1yHIvFFiJG4W5Axyl74H7o1VR3+dxkgbZjG71kTbJ0o5/t5Ol1mdtmWtXsPvBngw Gpzq3YePtDfuFfXFnewd4rJQqceDE7s= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-385-y7EIS_zgPkCUqS1eZNChzg-1; Fri, 19 Mar 2021 10:46:36 -0400 X-MC-Unique: y7EIS_zgPkCUqS1eZNChzg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 276A61084CA1; Fri, 19 Mar 2021 14:46:34 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-31.ams2.redhat.com [10.36.114.31]) by smtp.corp.redhat.com (Postfix) with ESMTP id 023275D9C6; Fri, 19 Mar 2021 14:46:32 +0000 (UTC) Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW2VkazItZGV2ZWxdIFtQQVRDSCB2Ml0gTWRlUGtnOiB1c2UgQ3B1UGF1c2UoKSBpbiBDcHVEZWFkTG9vcCgp?= To: gaoliming , devel@edk2.groups.io, ankur.a.arora@oracle.com Cc: 'Michael D Kinney' References: <20210318184504.2745112-1-ankur.a.arora@oracle.com> <009301d71c5b$d512a6d0$7f37f470$@byosoft.com.cn> From: "Laszlo Ersek" Message-ID: <6c6ba4f1-d10c-636c-3733-791687dd0542@redhat.com> Date: Fri, 19 Mar 2021 15:46:31 +0100 MIME-Version: 1.0 In-Reply-To: <009301d71c5b$d512a6d0$7f37f470$@byosoft.com.cn> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Hi Liming, On 03/19/21 02:04, gaoliming wrote: > Ankur: > Seemly, the patch is missing in this mail. I can see the patch body just fine in my mailbox / list folder. Also, the list archives seem to have it: - https://edk2.groups.io/g/devel/message/73018 - http://mid.mail-archive.com/20210318184504.2745112-1-ankur.a.arora@oracle.com - https://listman.redhat.com/archives/edk2-devel-archive/2021-March/msg00765.html Ankur, can you post a "RESEND v2" please, anyway? Thanks Laszlo > > Thanks > Liming >> -----邮件原件----- >> 发件人: devel@edk2.groups.io 代表 Ankur Arora >> 发送时间: 2021年3月19日 2:45 >> 收件人: devel@edk2.groups.io >> 抄送: Ankur Arora ; Liming Gao >> ; Michael D Kinney >> ; Laszlo Ersek >> 主题: [edk2-devel] [PATCH v2] MdePkg: use CpuPause() in CpuDeadLoop() >> >> CpuPause() might allow the CPU to go into a lower power state >> state while we spin. >> >> On X86, CpuPause() executes a PAUSE instruction which the Intel >> and AMD specs describe as follows: >> >> Intel: >> "PAUSE: An additional function of the PAUSE instruction is to reduce >> the power consumed by a processor while executing a spin loop. A >> processor can execute a spin-wait loop extremely quickly, causing the >> processor to consume a lot of power while it waits for the resource it >> is spinning on to become available. Inserting a pause instruction in a >> spin-wait loop greatly reduces the processorb > >