Module Name: src
Committed By: thorpej
Date: Mon Jun 1 13:58:14 UTC 2020
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_thread_cleanup(): Remove overly-aggressive assertion.
To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/sys/kern/kern_lwp.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/kern/kern_lwp.c
diff -u src/sys/kern/kern_lwp.c:1.239 src/sys/kern/kern_lwp.c:1.240
--- src/sys/kern/kern_lwp.c:1.239 Sat May 23 23:42:43 2020
+++ src/sys/kern/kern_lwp.c Mon Jun 1 13:58:14 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lwp.c,v 1.239 2020/05/23 23:42:43 ad Exp $ */
+/* $NetBSD: kern_lwp.c,v 1.240 2020/06/01 13:58:14 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009, 2019, 2020
@@ -217,7 +217,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.239 2020/05/23 23:42:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.240 2020/06/01 13:58:14 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
@@ -2060,7 +2060,6 @@ lwp_setprivate(struct lwp *l, void *ptr)
void
lwp_thread_cleanup(struct lwp *l)
{
- KASSERT(l == curlwp);
const lwpid_t tid = l->l_lid;
KASSERT((tid & FUTEX_TID_MASK) == tid);