Module Name: src
Committed By: ad
Date: Fri Oct 13 18:23:54 UTC 2023
Modified Files:
src/sys/rump/librump/rumpkern: sleepq.c
Log Message:
Rump: sleepq_remove(): don't unlock the sleepq. Spotted by hannken@.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/rump/librump/rumpkern/sleepq.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/sleepq.c
diff -u src/sys/rump/librump/rumpkern/sleepq.c:1.27 src/sys/rump/librump/rumpkern/sleepq.c:1.28
--- src/sys/rump/librump/rumpkern/sleepq.c:1.27 Sun Oct 8 13:23:05 2023
+++ src/sys/rump/librump/rumpkern/sleepq.c Fri Oct 13 18:23:54 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: sleepq.c,v 1.27 2023/10/08 13:23:05 ad Exp $ */
+/* $NetBSD: sleepq.c,v 1.28 2023/10/13 18:23:54 ad Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sleepq.c,v 1.27 2023/10/08 13:23:05 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sleepq.c,v 1.28 2023/10/13 18:23:54 ad Exp $");
#include <sys/param.h>
#include <sys/condvar.h>
@@ -150,7 +150,7 @@ void
sleepq_remove(sleepq_t *sq, struct lwp *l, bool wakeup)
{
- sleepq_unsleep(l, true);
+ sleepq_unsleep(l, false);
}
/*