Module Name: src Committed By: martin Date: Thu Nov 23 13:40:22 UTC 2017
Modified Files: src/sys/kern [netbsd-8]: kern_softint.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #387): sys/kern/kern_softint.c: revision 1.44 Increase the size of softint's data to prevent panic on big machine. Nowadays, some device drivers and some pseudo interfaces allocate a lot of softints. The resource size for softints are static and it panics when it execeed the limit. It can be dynamically resized. Untill dynamically resizing is implemented, increase softint_bytes from 8192 to 32768. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.43.10.1 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.43 src/sys/kern/kern_softint.c:1.43.10.1 --- src/sys/kern/kern_softint.c:1.43 Mon Jul 4 04:20:14 2016 +++ src/sys/kern/kern_softint.c Thu Nov 23 13:40:22 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_softint.c,v 1.43 2016/07/04 04:20:14 knakahara Exp $ */ +/* $NetBSD: kern_softint.c,v 1.43.10.1 2017/11/23 13:40:22 martin Exp $ */ /*- * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc. @@ -170,7 +170,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.43 2016/07/04 04:20:14 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_softint.c,v 1.43.10.1 2017/11/23 13:40:22 martin Exp $"); #include <sys/param.h> #include <sys/proc.h> @@ -217,7 +217,7 @@ typedef struct softcpu { static void softint_thread(void *); -u_int softint_bytes = 8192; +u_int softint_bytes = 32768; u_int softint_timing; static u_int softint_max; static kmutex_t softint_lock;