Re:ARM and Lock-Free Programming
by miohtama on Tuesday December 01, 2020 @08:37AM
(#25264967)
How does the toggle work? Is it per thread, CPU affinity, per process, CPU flag or something totally different?
[ Parent
| on HN ]
It seems to be a CPU flag. This is managed by the kernel so that it is on for Rosetta 2 processes and off for everything else. See https://github.com/saagarjha/TSOEnabler