FreeBSD/src 0db7afd (r351213)sys/kern subr_trap.c

assert that td_lk_slocks is not leaked upon return from kernel

This is similar to checks for td_sx_slocks and td_rw_rlocks.
Although td_lk_slocks is an implementation detail, it still makes sense
to validate it.

MFC after:      1 week
Sponsored by:   Panzura
DeltaFile
+3-0sys/kern/subr_trap.c
+3-01 files

UnifiedSplitRaw