linux/arch/sparc64
Eric Dumazet 9cfe015aa4 get rid of NR_OPEN and introduce a sysctl_nr_open
NR_OPEN (historically set to 1024*1024) actually forbids processes to open
more than 1024*1024 handles.

Unfortunatly some production servers hit the not so 'ridiculously high
value' of 1024*1024 file descriptors per process.

Changing NR_OPEN is not considered safe because of vmalloc space potential
exhaust.

This patch introduces a new sysctl (/proc/sys/fs/nr_open) wich defaults to
1024*1024, so that admins can decide to change this limit if their workload
needs it.

[akpm@linux-foundation.org: export it for sparc64]
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:06 -08:00
..
boot [SPARC64]: Add .gitignore file for sparc64 boot images. 2006-02-05 00:15:11 -08:00
kernel get rid of NR_OPEN and introduce a sysctl_nr_open 2008-02-06 10:41:06 -08:00
lib [SPARC64]: Fix inconsistent .section usage in lib/ 2008-01-31 19:32:44 -08:00
math-emu [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00
mm SPARC64: use generic percpu 2008-01-30 23:27:58 +01:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom [SPARC64]: __inline__ --> inline 2007-10-27 00:13:04 -07:00
solaris get rid of NR_OPEN and introduce a sysctl_nr_open 2008-02-06 10:41:06 -08:00
defconfig [SPARC64]: Update defconfig. 2007-12-05 05:38:01 -08:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
Kconfig.debug Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Makefile [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00