summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-11-17 18:09:18 +0000
committerjake <jake@FreeBSD.org>2000-11-17 18:09:18 +0000
commit3a97b3e213f232a4b939a68fed0d93230f4b2ddb (patch)
treecac806cc5bcd1867db8a01f555cc5cd41f13cfba /sys/kern/kern_mutex.c
parent4392ed2ce56049571282c170b18fa4632409955e (diff)
downloadFreeBSD-src-3a97b3e213f232a4b939a68fed0d93230f4b2ddb.zip
FreeBSD-src-3a97b3e213f232a4b939a68fed0d93230f4b2ddb.tar.gz
- Split the run queue and sleep queue linkage, so that a process
may block on a mutex while on the sleep queue without corrupting it. - Move dropping of Giant to after the acquire of sched_lock. Tested by: John Hay <jhay@icomtek.csir.co.za> jhb
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 354ff91..58a98d1 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -718,6 +718,7 @@ static char *dup_list[] = {
};
static char *sleep_list[] = {
+ "Giant",
NULL
};
OpenPOWER on IntegriCloud