summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-29 18:38:14 +0000
committerjhb <jhb@FreeBSD.org>2000-11-29 18:38:14 +0000
commit42af0b6bb4a972d1a9696148a4a12dfe0a3ad03a (patch)
tree69c8162b74eea326e3334af71982cae684215037
parent35b8911585c3fe418def486b03f35edcafb08529 (diff)
downloadFreeBSD-src-42af0b6bb4a972d1a9696148a4a12dfe0a3ad03a.zip
FreeBSD-src-42af0b6bb4a972d1a9696148a4a12dfe0a3ad03a.tar.gz
The sched_lock mutex goes after the sio mutex in the locking order since
a software interrupt can be scheduled in the sio interrupt handler while the sio mutex is held.
-rw-r--r--sys/kern/kern_mutex.c2
-rw-r--r--sys/kern/subr_turnstile.c2
-rw-r--r--sys/kern/subr_witness.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 37ddc8f..1a4dda2 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -703,8 +703,8 @@ static char *ignore_list[] = {
};
static char *spin_order_list[] = {
- "sched lock",
"sio",
+ "sched lock",
#ifdef __i386__
"clk",
#endif
diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c
index 37ddc8f..1a4dda2 100644
--- a/sys/kern/subr_turnstile.c
+++ b/sys/kern/subr_turnstile.c
@@ -703,8 +703,8 @@ static char *ignore_list[] = {
};
static char *spin_order_list[] = {
- "sched lock",
"sio",
+ "sched lock",
#ifdef __i386__
"clk",
#endif
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 37ddc8f..1a4dda2 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -703,8 +703,8 @@ static char *ignore_list[] = {
};
static char *spin_order_list[] = {
- "sched lock",
"sio",
+ "sched lock",
#ifdef __i386__
"clk",
#endif
OpenPOWER on IntegriCloud