]> git.hungrycats.org Git - linux/commitdiff
[PATCH] increase dynamic proc entries for ppc64
authorAnton Blanchard <anton@samba.org>
Mon, 8 Apr 2002 04:31:16 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 8 Apr 2002 04:31:16 +0000 (21:31 -0700)
Unfortunately the proc filesystem has a limit on the number of dynamic
proc entries it can create. On large systems we can exhaust the default
(4096) very quickly. The following patch increases the default to
something more reasonable.

include/linux/proc_fs.h

index b38feb868b4318cd74073f02345e3ea7a4d7681c..a0944b88f84d1deb0d72999d315fcbfb2e6f2183 100644 (file)
@@ -27,7 +27,7 @@ enum {
 /* Finally, the dynamically allocatable proc entries are reserved: */
 
 #define PROC_DYNAMIC_FIRST 4096
-#define PROC_NDYNAMIC      4096
+#define PROC_NDYNAMIC      16384
 
 #define PROC_SUPER_MAGIC 0x9fa0