summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-03-09 21:38:53 +0000
committerrwatson <rwatson@FreeBSD.org>2005-03-09 21:38:53 +0000
commit8963f5c8c080787746ec81d669eee1601842f583 (patch)
tree9c82482a826991f24e0da7648243b50b270561f4
parent180357cd92d662043a6a43cdca0e95a9d7cc2abe (diff)
downloadFreeBSD-src-8963f5c8c080787746ec81d669eee1601842f583.zip
FreeBSD-src-8963f5c8c080787746ec81d669eee1601842f583.tar.gz
Document, via WITNESS, that the NFS server mutex falls ahead of the socket
buffer mutexes.
-rw-r--r--sys/kern/subr_witness.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 064d95c..994353b 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -323,6 +323,11 @@ static struct witness_order_list_entry order_lists[] = {
{ "bpf global lock", &lock_class_mtx_sleep },
{ "bpf interface lock", &lock_class_mtx_sleep },
{ "bpf cdev lock", &lock_class_mtx_sleep },
+ /*
+ * NFS server
+ */
+ { "nfsd_mtx", &lock_class_mtx_sleep },
+ { "so_snd", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* spin locks
OpenPOWER on IntegriCloud