Andreas, Simon, and other back-end-knowledgeable devs
Can I draw your attention to this question?
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3011#note_264584
It’s about identifying which primops execute in-line without GC, and without thread-switching.
Thanks
Simon