Merge branches 'cmpxchg.2024.05.30a' and 'tsc.2024.05.27a' into HEAD

cmpxchg.2024.05.30a: Emulate one-byte cmpxchg as needed.
tsc.2024.05.27a: Check for sockets instead of CPUs.