diff options
-rw-r--r-- | share/man/man9/mutex.9 | 4 | ||||
-rw-r--r-- | sys/sys/mutex.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 49e1daf..0856a6c 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -28,7 +28,7 @@ .\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $ .\" $FreeBSD$ .\" -.Dd February 1, 2006 +.Dd December 21, 2006 .Dt MUTEX 9 .Os .Sh NAME @@ -434,6 +434,8 @@ Instruct to ignore this lock. .It Dv MTX_DUPOK Witness should not log messages about duplicate locks being acquired. +.It Dv MTX_NOPROFILE +Do not profile this lock. .El .Ss Lock and Unlock Flags The flags passed to the diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index 90be6cc..06b5842 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -57,7 +57,7 @@ #define MTX_SPIN 0x00000001 /* Spin lock (disables interrupts) */ #define MTX_RECURSE 0x00000004 /* Option: lock allowed to recurse */ #define MTX_NOWITNESS 0x00000008 /* Don't do any witness checking. */ -#define MTX_NOPROFILE 0x00000020 +#define MTX_NOPROFILE 0x00000020 /* Don't profile this lock */ /* * Option flags passed to certain lock/unlock routines, through the use |