summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-02-28 18:49:09 +0000
committerjulian <julian@FreeBSD.org>2001-02-28 18:49:09 +0000
commitcceb0beb355fd5a9640d74d01c537bd0067dc01c (patch)
tree8243ef9cfe76164c147d95a268bc80bbed3f9eec /sys/kern/kern_mutex.c
parent68b225051bfb5632ab79f2bd176479264331ff1a (diff)
downloadFreeBSD-src-cceb0beb355fd5a9640d74d01c537bd0067dc01c.zip
FreeBSD-src-cceb0beb355fd5a9640d74d01c537bd0067dc01c.tar.gz
Shuffle netgraph mutexes a bit and hold a reference on a node
from the function that is calling the destructor.
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 0b0ba86..2142de0 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -920,6 +920,8 @@ static char *spin_order_list[] = {
#ifdef __i386__
"cy",
#endif
+ "ng_node",
+ "ng_worklist",
"ithread table lock",
"ithread list lock",
"sched lock",
@@ -930,8 +932,6 @@ static char *spin_order_list[] = {
/*
* leaf locks
*/
- "ng_node",
- "ng_worklist",
#ifdef SMP
#ifdef __i386__
"ap boot",
OpenPOWER on IntegriCloud