CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/03/13 20:08:57
Modified files:
sys/arch/amd64/include: mplock.h
sys/arch/amd64/amd64: lock_machdep.c
Log message:
rework mplocks to use tickets instead of spinning. this provides
fairer access to the kernel lock between logical cpus, especially
in multi socket systems.
i first wrote this diff in 2011. it provided the model for the i386
and sparc64 ticket locks.
ok n2k14 for post 5.5 (deraadt@ and kettenis@ in particular)
