CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2014/03/13 19:20:44
Modified files: sys/arch/sparc64/include: mplock.h sys/arch/sparc64/sparc64: lock_machdep.c Log message: rework mplock as ticket locks instead of spinlocks. this provides fairer access to the kernel lock (which suffers very heavy contention at the moment). i wrote this at n2k14 and reworked it shortly after to use the mi atomic ops api when that was agreed on. ive been running it on my systems ever since. the version before the atomic op tweaks was tested by kettenis@ n2k14 (deraadt@ and kettenis@ in particular if i recall correctly) oked this going in after 5.5