aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/lock.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2018-03-22 19:11:43 +0000
committerJeff Roberson <jeff@FreeBSD.org>2018-03-22 19:11:43 +0000
commit9a4b4cd3bcd466d22941bd4bd8f17fba46ea4dee (patch)
tree907fb75aee5655b4b3f278980b16b37e6e9a30a4 /sys/sys/lock.h
parentcdfeced8ff19ad725208485664d56b5b1ef622e1 (diff)
downloadsrc-9a4b4cd3bcd466d22941bd4bd8f17fba46ea4dee.tar.gz
src-9a4b4cd3bcd466d22941bd4bd8f17fba46ea4dee.zip
Start witness much earlier in boot so that we can shrink the pend list and
make it more immune to further change. Reviewed by: markj, imp (Part of D14707) Sponsored by: Netflix, Dell/EMC Isilon
Notes
Notes: svn path=/head/; revision=331368
Diffstat (limited to 'sys/sys/lock.h')
-rw-r--r--sys/sys/lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h
index 27c850d44029..101ec9b89f77 100644
--- a/sys/sys/lock.h
+++ b/sys/sys/lock.h
@@ -277,6 +277,8 @@ const char *witness_file(struct lock_object *);
void witness_thread_exit(struct thread *);
#ifdef WITNESS
+int witness_startup_count(void);
+void witness_startup(void *);
/* Flags for witness_warn(). */
#define WARN_GIANTOK 0x01 /* Giant is exempt from this check. */