Revert "softint(9): Sprinkle KASSERT(!cold)."
Temporary workaround for PR kern/57563 -- to be fixed properly after analysis.
This commit is contained in:
parent
d8d3219353
commit
f4fdfc607f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern_softint.c,v 1.74 2023/08/04 07:40:30 riastradh Exp $ */
|
||||
/* $NetBSD: kern_softint.c,v 1.75 2023/08/04 12:24:36 riastradh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007, 2008, 2019, 2020 The NetBSD Foundation, Inc.
|
||||
|
@ -170,7 +170,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.74 2023/08/04 07:40:30 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.75 2023/08/04 12:24:36 riastradh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
@ -488,8 +488,6 @@ softint_schedule(void *arg)
|
|||
|
||||
SDT_PROBE2(sdt, kernel, softint, schedule, arg, /*ci*/NULL);
|
||||
|
||||
KASSERT(!cold);
|
||||
|
||||
/*
|
||||
* If this assert fires, rather than disabling preemption explicitly
|
||||
* to make it stop, consider that you are probably using a softint
|
||||
|
@ -571,7 +569,6 @@ softint_execute(lwp_t *l, int s)
|
|||
KASSERT(si->si_cpu == curcpu());
|
||||
KASSERT(si->si_lwp->l_wchan == NULL);
|
||||
KASSERT(si->si_active);
|
||||
KASSERT(!cold);
|
||||
|
||||
/*
|
||||
* Note: due to priority inheritance we may have interrupted a
|
||||
|
@ -724,8 +721,6 @@ softint_thread(void *cookie)
|
|||
lwp_t *l;
|
||||
int s;
|
||||
|
||||
KASSERT(!cold);
|
||||
|
||||
l = curlwp;
|
||||
si = l->l_private;
|
||||
|
||||
|
@ -805,8 +800,6 @@ softint_dispatch(lwp_t *pinned, int s)
|
|||
u_int timing;
|
||||
lwp_t *l;
|
||||
|
||||
KASSERT(!cold);
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
if ((pinned->l_pflag & LP_RUNNING) == 0 || curlwp->l_stat != LSIDL) {
|
||||
struct lwp *onproc = curcpu()->ci_onproc;
|
||||
|
|
Loading…
Reference in New Issue