Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern One more mutex which is used as a ...
details: https://anonhg.NetBSD.org/src/rev/7cbe6b862620
branches: trunk
changeset: 786457:7cbe6b862620
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Apr 28 23:19:33 2013 +0000
description:
One more mutex which is used as a spin mutex and therefore needs
to be tagged as one, lest the mighty assert smites thee.
diffstat:
sys/rump/librump/rumpkern/lwproc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a541f84d7f0a -r 7cbe6b862620 sys/rump/librump/rumpkern/lwproc.c
--- a/sys/rump/librump/rumpkern/lwproc.c Sun Apr 28 21:34:31 2013 +0000
+++ b/sys/rump/librump/rumpkern/lwproc.c Sun Apr 28 23:19:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwproc.c,v 1.20 2013/03/07 18:49:13 pooka Exp $ */
+/* $NetBSD: lwproc.c,v 1.21 2013/04/28 23:19:33 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.20 2013/03/07 18:49:13 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.21 2013/04/28 23:19:33 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -149,7 +149,7 @@
LIST_INIT(&p->p_children);
p->p_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
- mutex_init(&p->p_stmutex, MUTEX_DEFAULT, IPL_NONE);
+ mutex_init(&p->p_stmutex, MUTEX_DEFAULT, IPL_HIGH);
mutex_init(&p->p_auxlock, MUTEX_DEFAULT, IPL_NONE);
rw_init(&p->p_reflock);
cv_init(&p->p_waitcv, "pwait");
Home |
Main Index |
Thread Index |
Old Index