On 7/10/24 8:42 AM, Sean Christopherson wrote:
On Fri, Jun 28, 2024, Reinette Chatre wrote:
Now that the x86 udelay() utility no longer use cpu_relax(), should ARM and RISC-V's udelay() be modified to match in this regard? I can prepare (unable to test) changes for you to consider on your return.I don't think so? IIUC, arm64's "yield", used by cpu_relax() doesn't trigger the "on spin" exists. Such exist are only triggered by "wfet" and friends.
ah, I see, thank you very much Sean. Reinette