lockmgr: start decomposing the main routine

The main routine takes 8 args, 3 of which are almost the same for most uses.
This in particular pushes it above the limit of 6 arguments passable through
registers on amd64 making it impossible to tail call.

This is a prerequisite for further cleanups.

Tested by:	pho
This commit is contained in:
mjg 2018-03-04 19:12:54 +00:00
parent 151894a156
commit 97c5138f1a

File diff suppressed because it is too large Load Diff