Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Increase the size of softint's data to prevent pani...
details: https://anonhg.NetBSD.org/src/rev/cc9d86ae3cf0
branches: trunk
changeset: 357695:cc9d86ae3cf0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Nov 22 02:20:21 2017 +0000
description:
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 5a0e734b3ea4 -r cc9d86ae3cf0 sys/kern/kern_softint.c
--- a/sys/kern/kern_softint.c Wed Nov 22 00:31:31 2017 +0000
+++ b/sys/kern/kern_softint.c Wed Nov 22 02:20:21 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.44 2017/11/22 02:20:21 msaitoh 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.44 2017/11/22 02:20:21 msaitoh 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