4 Sep
2022
4 Sep
'22
1:19 p.m.
.NET core doesn't use that code path on macOS - `s_helperPage` is never initialized if `TARGET_OSX` is defined.
Well, ok, then. I assumed eager page table manipulation would trigger IPI on most operating systems, though. For example, Dave et al.<sup>[1]</sup> mentions mprotect as a cross-platform global memory barrier technique. But I think it's better to stick to whatever existing projects are doing anyway. [1] Dave Dice, Maurice Herlihy, and Alex Kogan. 2016. Fast non-intrusive memory reclamation for highly-concurrent data structures. SIGPLAN Not. 51, 11 (November 2016), 36���45. https://doi.org/10.1145/3241624.2926699 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/741#note_7626