HomeFreeBSD

lockmgr: start decomposing the main routine

Description

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

Details

Provenance
mjgAuthored on
Parents
rS330399: Stub kernel_param_lock() and kernel_param_unlock() in the LinuxKPI.
Branches
Unknown
Tags
Unknown