public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: gaoliming <gaoliming@byosoft.com.cn>,
	devel@edk2.groups.io, ankur.a.arora@oracle.com
Cc: 'Michael D Kinney' <michael.d.kinney@intel.com>
Subject: Re: 回复: [edk2-devel] [PATCH v2] MdePkg: use CpuPause() in CpuDeadLoop()
Date: Fri, 19 Mar 2021 15:46:31 +0100	[thread overview]
Message-ID: <6c6ba4f1-d10c-636c-3733-791687dd0542@redhat.com> (raw)
In-Reply-To: <009301d71c5b$d512a6d0$7f37f470$@byosoft.com.cn>

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 <devel@edk2.groups.io> 代表 Ankur Arora
>> 发送时间: 2021年3月19日 2:45
>> 收件人: devel@edk2.groups.io
>> 抄送: Ankur Arora <ankur.a.arora@oracle.com>; Liming Gao
>> <gaoliming@byosoft.com.cn>; Michael D Kinney
>> <michael.d.kinney@intel.com>; Laszlo Ersek <lersek@redhat.com>
>> 主题: [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
> 
> 


      reply	other threads:[~2021-03-19 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 18:45 [PATCH v2] MdePkg: use CpuPause() in CpuDeadLoop() Ankur Arora
2021-03-19  1:04 ` 回复: [edk2-devel] " gaoliming
2021-03-19 14:46   ` Laszlo Ersek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c6ba4f1-d10c-636c-3733-791687dd0542@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox