HomeFreeBSD

locks: remove the file + line argument from internal primitives when not used

Description

locks: remove the file + line argument from internal primitives when not used

The pair is of use only in debug or LOCKPROF kernels, but was passed (zeroed)
for many locks even in production kernels.

While here whack the tid argument from wlock hard and xlock hard.

There is no kbi change of any sort - "external" primitives still accept the
pair.

Details

Provenance
mjgAuthored on
Parents
rS326105: MFC r325552: s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.
Branches
Unknown
Tags
Unknown