Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern lwp_thread_cleanup(): Remove overly-aggressive asse...
details: https://anonhg.NetBSD.org/src/rev/1fcfdae6732d
branches: trunk
changeset: 933969:1fcfdae6732d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jun 01 13:58:14 2020 +0000
description:
lwp_thread_cleanup(): Remove overly-aggressive assertion.
diffstat:
sys/kern/kern_lwp.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f821ecd54747 -r 1fcfdae6732d sys/kern/kern_lwp.c
--- a/sys/kern/kern_lwp.c Mon Jun 01 13:30:52 2020 +0000
+++ b/sys/kern/kern_lwp.c Mon Jun 01 13:58:14 2020 +0000
@@ -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 @@
void
lwp_thread_cleanup(struct lwp *l)
{
- KASSERT(l == curlwp);
const lwpid_t tid = l->l_lid;
KASSERT((tid & FUTEX_TID_MASK) == tid);
Home |
Main Index |
Thread Index |
Old Index