summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-09 20:52:02 +0000
committerjhb <jhb@FreeBSD.org>2001-02-09 20:52:02 +0000
commit6e319b65bdddfe6c6b2d441984f7759336930a92 (patch)
tree21d947d571fb2a7717f0f81b278648539a43d75e /sys/kern/kern_mutex.c
parent27ab00ae2a8eed9827629179c13212f15a599e39 (diff)
downloadFreeBSD-src-6e319b65bdddfe6c6b2d441984f7759336930a92.zip
FreeBSD-src-6e319b65bdddfe6c6b2d441984f7759336930a92.tar.gz
Unify the two sleep lock order lists to enforce the process lock ->
uidinfo lock locking order.
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 2c53137..b7d0b36 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -973,8 +973,8 @@ static char *spin_order_list[] = {
};
static char *order_list[] = {
- "Giant", "uidinfo hash", "uidinfo struct", NULL,
- "Giant", "proctree", "allproc", "process lock", NULL,
+ "Giant", "proctree", "allproc", "process lock", "uidinfo hash",
+ "uidinfo struct", NULL,
NULL
};
OpenPOWER on IntegriCloud