HomeFreeBSD

MFC r285888:

Description

MFC r285888:

Build debug version of rmlock's methods only when LOCK_DEBUG > 0.

Currently LOCK_DEBUG is always defined in sys/lock.h (0 or 1).
This means that debugging code always built. In addition the kernel
modules have always defined LOCK_DEBUG as 1. So, debugging rmlock code
is always used by kernel modules.

Details

Provenance
aeAuthored on
Parents
rS286314: Fix UP build after r286296, ensure that CPU_FOREACH() is defined.
Branches
Unknown
Tags
Unknown