]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rmlock(9): add an RM_DUPOK flag
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 8 Apr 2021 17:41:19 +0000 (14:41 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Mon, 12 Apr 2021 14:42:21 +0000 (11:42 -0300)
commit2816bd8442bc323d50434d0e64cb4b7c10a195e8
tree21c7d167b8595922cb8a500a322fee328a031a7e
parent034669e856211cbc55d6ac7119629701d182647d
rmlock(9): add an RM_DUPOK flag

Allows for duplicate locks to be acquired without witness complaining.
Similar flags exists already for rwlock(9) and sx(9).

Reviewed by: markj
MFC after: 3 days
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
NetApp PR: 52
Differential Revision: https://reviews.freebsd.org/D29683n
share/man/man9/rmlock.9
sys/kern/kern_rmlock.c
sys/sys/rmlock.h