Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/kern Pull up following revision(s) (requested by msai...



details:   https://anonhg.NetBSD.org/src/rev/1c4ea27fa7ef
branches:  netbsd-8
changeset: 434433:1c4ea27fa7ef
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 23 13:40:22 2017 +0000

description:
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.

diffstat:

 sys/kern/kern_softint.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f306a01ce378 -r 1c4ea27fa7ef sys/kern/kern_softint.c
--- a/sys/kern/kern_softint.c   Thu Nov 23 13:34:24 2017 +0000
+++ b/sys/kern/kern_softint.c   Thu Nov 23 13:40:22 2017 +0000
@@ -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 @@
 
 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;



Home | Main Index | Thread Index | Old Index