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 Nov 22 2017, 9:51 PM
Parents
rG4e96bf3a37e3: bhnd(4): extend the PMU APIs to support bwn(4)
Branches
Unknown
Tags
Unknown

Event Timeline