> You probably don't want to have global shared locks and frequent atomic operations on CXL-backed shared memory (once that becomes possible in theory with CXL3.0).
I'd bet contested locks spend more time in cache than most other lines of memory so in practice a global lock might not be too bad.