Roman,

> From: Roman Simakov <roman.sima...@gmail.com>
> Sent: Monday, September 16, 2019 7:51 AM


> I guess it would be interesting alternative for spinlock
> (https://kernelnewbies.org/Linux_5.3)
> 1.6. Power efficient userspace waiting with the umwait x86 instructions
> 
> More description is here:
> https://lwn.net/Articles/790920/

It is a shame that:

- will only be available on new Intel Tremont micro-architecture CPUs, whenever 
they ship
- will not be available for AMD CPUs, the new ROME/EPYC 2 CPUs are kicking 
Intel's offering
- will not be available via Windows API for some time

I think it is worthy to create a JIRA ticket for this issue, but believe that 
it should not be implemented until Windows API support is available at the very 
least.


The articles don't mention what if applications would need to detect if umwait 
is implemented/active, and implement alternate logic if not, or will OSs need 
to have a default implementation for incompatible CPUs.


Sean



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to