K 10 svn:author V 3 mjg K 8 svn:date V 27 2017-03-16T06:14:33.500866Z K 7 svn:log V 460 MFC r313683: lockmgr: implement fast path The main lockmgr routine takes 8 arguments which makes it impossible to tail-call it by the intermediate vop_stdlock/unlock routines. The routine itself starts with an if-forest and reads from the lock itself several times. This slows things down both single- and multi-threaded. With the patch single-threaded fstats go 4% up and multithreaded up to ~27%. Note that there is still a lot of room for improvement. END