Author :
mpi
Date :
2025-05-21 09:04:00
Hash :8e23f399 Message :Improve mtx_enter() for machines with a huge number of CPUs.
- Always read the value just before issuing an atomic operation to avoid
locking the cache line.
- Use an exponential backoff for the busy loop when waiting for a contended
lock.
Prevent hangs on Ampere Altra with highly contended mutexes.
ok kettenis@, dlg@