Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev increase LOCKSTAT_MAXBUFS, systems with lots of CPUs...
details: https://anonhg.NetBSD.org/src/rev/5d7dab363798
branches: trunk
changeset: 328855:5d7dab363798
user: chs <chs%NetBSD.org@localhost>
date: Mon Apr 21 16:33:21 2014 +0000
description:
increase LOCKSTAT_MAXBUFS, systems with lots of CPUs need more.
diffstat:
sys/dev/lockstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 840a8ea46d8c -r 5d7dab363798 sys/dev/lockstat.c
--- a/sys/dev/lockstat.c Mon Apr 21 15:52:27 2014 +0000
+++ b/sys/dev/lockstat.c Mon Apr 21 16:33:21 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockstat.c,v 1.17 2014/03/16 05:20:26 dholland Exp $ */
+/* $NetBSD: lockstat.c,v 1.18 2014/04/21 16:33:21 chs Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.17 2014/03/16 05:20:26 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.18 2014/04/21 16:33:21 chs Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -69,7 +69,7 @@
#define LOCKSTAT_MINBUFS 1000
#define LOCKSTAT_DEFBUFS 10000
-#define LOCKSTAT_MAXBUFS 50000
+#define LOCKSTAT_MAXBUFS 1000000
#define LOCKSTAT_HASH_SIZE 128
#define LOCKSTAT_HASH_MASK (LOCKSTAT_HASH_SIZE - 1)
Home |
Main Index |
Thread Index |
Old Index