News for hackers. Stuff that matters.
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?
Re:ARM and Lock-Free Programming by abbeyj on Tuesday December 01, 2020 @10:53AM (#25266205)
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