summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-04 20:45:21 +0000
committerjhb <jhb@FreeBSD.org>2002-04-04 20:45:21 +0000
commit8143d2b80ef3f3c7c569be2745611d6255aefe96 (patch)
treed6b22c9acfe929382de38062c3e94c37953539b4 /sys/kern/kern_malloc.c
parent38f498fe43ea5f40a284797ebdbe58e525227a99 (diff)
downloadFreeBSD-src-8143d2b80ef3f3c7c569be2745611d6255aefe96.zip
FreeBSD-src-8143d2b80ef3f3c7c569be2745611d6255aefe96.tar.gz
Add a new char * pointer lo_type to struct lock_object that is used to
point to a more generic name for a lock that is more suitable for use by witness when grouping locks. For example, although network driver locks use the interface name for the name of each lock, they should all use the same witness and be treated the same as witness. Another example is that all UMA zone locks should be treated the same. The witness code has also been updated to print out the lock type in addition to the lock name in a few places where it is relevant.
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud