Module Name:    src
Committed By:   ad
Date:           Mon Feb 17 21:44:43 UTC 2020

Modified Files:
        src/sys/kern: kern_softint.c

Log Message:
softint_dispatch(): Temporarily call kernel_lock_plug_leak() since there is
incontinent code somewhere.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/kern/kern_softint.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_softint.c
diff -u src/sys/kern/kern_softint.c:1.60 src/sys/kern/kern_softint.c:1.61
--- src/sys/kern/kern_softint.c:1.60	Sat Feb 15 18:12:15 2020
+++ src/sys/kern/kern_softint.c	Mon Feb 17 21:44:42 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_softint.c,v 1.60 2020/02/15 18:12:15 ad Exp $	*/
+/*	$NetBSD: kern_softint.c,v 1.61 2020/02/17 21:44:42 ad Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2008, 2019, 2020 The NetBSD Foundation, Inc.
@@ -170,12 +170,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.60 2020/02/15 18:12:15 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.61 2020/02/17 21:44:42 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/intr.h>
 #include <sys/ipi.h>
+#include <sys/lock.h>
 #include <sys/mutex.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>
@@ -889,6 +890,9 @@ softint_dispatch(lwp_t *pinned, int s)
 		l->l_pflag &= ~LP_TIMEINTR;
 	}
 
+	/* XXX temporary */
+	kernel_lock_plug_leak();
+
 	/*
 	 * If we blocked while handling the interrupt, the pinned LWP is
 	 * gone so switch to the idle LWP.  It will select a new LWP to

Reply via email to