Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch bump CHILD_MAX and OPEN_MAX defaults on several pla...
details: https://anonhg.NetBSD.org/src/rev/9b5c526f5c10
branches: trunk
changeset: 808141:9b5c526f5c10
user: mrg <mrg%NetBSD.org@localhost>
date: Thu May 07 19:14:55 2015 +0000
description:
bump CHILD_MAX and OPEN_MAX defaults on several platforms, both to 1024.
diffstat:
sys/arch/aarch64/conf/std.aarch64 | 5 ++++-
sys/arch/amd64/conf/std.amd64 | 5 ++++-
sys/arch/evbarm/conf/std.evbarm | 5 ++++-
sys/arch/evbarm64/conf/std.evbarm64 | 5 ++++-
sys/arch/i386/conf/std.i386 | 5 ++++-
sys/arch/sparc64/conf/std.sparc64 | 5 ++++-
sys/arch/sparc64/conf/std.sparc64-32 | 5 ++++-
7 files changed, 28 insertions(+), 7 deletions(-)
diffs (116 lines):
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/aarch64/conf/std.aarch64
--- a/sys/arch/aarch64/conf/std.aarch64 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/aarch64/conf/std.aarch64 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.aarch64,v 1.1 2014/08/10 05:47:37 matt Exp $
+# $NetBSD: std.aarch64,v 1.2 2015/05/07 19:14:56 mrg Exp $
#
# standard NetBSD/aarch64 options
@@ -8,3 +8,6 @@
options EXEC_ELF64
options EXEC_SCRIPT
+
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/amd64/conf/std.amd64
--- a/sys/arch/amd64/conf/std.amd64 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/amd64/conf/std.amd64 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.amd64,v 1.9 2012/09/27 18:28:55 alnsn Exp $
+# $NetBSD: std.amd64,v 1.10 2015/05/07 19:14:55 mrg Exp $
#
# standard, required NetBSD/amd64 'options'
@@ -11,6 +11,9 @@
options MTRR
options MULTIPROCESSOR
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
+
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus? apid ?
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/evbarm/conf/std.evbarm
--- a/sys/arch/evbarm/conf/std.evbarm Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/evbarm/conf/std.evbarm Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.evbarm,v 1.3 2012/12/16 20:43:54 matt Exp $
+# $NetBSD: std.evbarm,v 1.4 2015/05/07 19:14:56 mrg Exp $
include "conf/std"
include "arch/arm/conf/std.arm" # arch standard options
@@ -6,3 +6,6 @@
options EXEC_ELF32
options EXEC_SCRIPT
options ARM32
+
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/evbarm64/conf/std.evbarm64
--- a/sys/arch/evbarm64/conf/std.evbarm64 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/evbarm64/conf/std.evbarm64 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,7 @@
-# $NetBSD: std.evbarm64,v 1.1 2014/08/10 05:47:38 matt Exp $
+# $NetBSD: std.evbarm64,v 1.2 2015/05/07 19:14:56 mrg Exp $
include "conf/std"
include "arch/aarch64/conf/std.aarch64" # arch standard options
+
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/i386/conf/std.i386
--- a/sys/arch/i386/conf/std.i386 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/i386/conf/std.i386 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.i386,v 1.33 2012/09/27 18:28:55 alnsn Exp $
+# $NetBSD: std.i386,v 1.34 2015/05/07 19:14:55 mrg Exp $
#
# standard, required NetBSD/i386 'options'
@@ -16,6 +16,9 @@
options MULTIPROCESSOR # multiprocessor support
options MPBIOS # configure CPUs and APICs using MPBIOS
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
+
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus?
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/sparc64/conf/std.sparc64
--- a/sys/arch/sparc64/conf/std.sparc64 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/sparc64/conf/std.sparc64 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.sparc64,v 1.18 2008/12/11 05:42:18 alc Exp $
+# $NetBSD: std.sparc64,v 1.19 2015/05/07 19:14:56 mrg Exp $
#
# Mandatory NetBSD/sparc64 kernel options when building either 32-bit or
@@ -16,5 +16,8 @@
options CPU_IN_CKSUM # use optimized checksum method
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
+
# Atheros HAL options
include "external/isc/atheros_hal/conf/std.ath_hal"
diff -r 233b29e89343 -r 9b5c526f5c10 sys/arch/sparc64/conf/std.sparc64-32
--- a/sys/arch/sparc64/conf/std.sparc64-32 Thu May 07 14:43:30 2015 +0000
+++ b/sys/arch/sparc64/conf/std.sparc64-32 Thu May 07 19:14:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.sparc64-32,v 1.3 2008/12/11 15:11:57 nakayama Exp $
+# $NetBSD: std.sparc64-32,v 1.4 2015/05/07 19:14:56 mrg Exp $
#
# Unneeded NetBSD/sparc64 kernel options when building 32-bit kernels.
@@ -10,3 +10,6 @@
makeoptions LP64="no"
no options EXEC_ELF64
+
+options CHILD_MAX=1024 # 160 is too few
+options OPEN_MAX=1024 # 128 is too few
Home |
Main Index |
Thread Index |
Old Index