Module Name: src Committed By: pooka Date: Sun Apr 28 23:19:34 UTC 2013
Modified Files: src/sys/rump/librump/rumpkern: lwproc.c Log Message: One more mutex which is used as a spin mutex and therefore needs to be tagged as one, lest the mighty assert smites thee. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/rump/librump/rumpkern/lwproc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpkern/lwproc.c diff -u src/sys/rump/librump/rumpkern/lwproc.c:1.20 src/sys/rump/librump/rumpkern/lwproc.c:1.21 --- src/sys/rump/librump/rumpkern/lwproc.c:1.20 Thu Mar 7 18:49:13 2013 +++ src/sys/rump/librump/rumpkern/lwproc.c Sun Apr 28 23:19:33 2013 @@ -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 @@ lwproc_newproc(struct proc *parent, int 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");