Ankur:
  Seemly, the patch is missing in this mail. 

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.ar...@oracle.com>; Liming Gao
> <gaolim...@byosoft.com.cn>; Michael D Kinney
> <michael.d.kin...@intel.com>; Laszlo Ersek <ler...@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




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73026): https://edk2.groups.io/g/devel/message/73026
Mute This Topic: https://groups.io/mt/81445311/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to