|
|
Log in / Subscribe / Register

Support for the TSO memory model on Arm CPUs

Support for the TSO memory model on Arm CPUs

Posted Apr 26, 2024 23:51 UTC (Fri) by thoughtpolice (subscriber, #87455)
In reply to: Support for the TSO memory model on Arm CPUs by marcH
Parent article: Support for the TSO memory model on Arm CPUs

Yes, support for TSO on Apple Silicon is enabled on a per-process basis, and TSO-enabled threads must run on performance cores. Therefore virtual machine software (which runs just like any other normal process) can just enable it before relinquishing execution to the VMM.

This is a pretty big requirement in general because the Rosetta 2 emulator in macOS needs to be able to run x86 binaries efficiently and TSO is required for that, but you don't want to introduce a large performance penalty on the rest of the system to enable it. It would be pretty bad if your machine just randomly hit a 10% performance cliff the instant you started a single emulated x86 app anywhere (command line or a script, for instance).


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds