lkml.org 
[lkml]   [2003]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.4.21: Increase dynamic proc slots to 8192 from 4096
This fixes problems I was seeing while trying to create a large number
of vlan interfaces (each interface has a proc file entry).

I hear it's even larger in 2.5.X, so if anyone wants to double it again,
please feel free!


+++ linux-2.4.21.amds/include/linux/proc_fs.h 2003-08-13 16:47:29.000000000 -0700
@@ -25,7 +25,8 @@
/* Finally, the dynamically allocatable proc entries are reserved: */

#define PROC_DYNAMIC_FIRST 4096
-#define PROC_NDYNAMIC 4096
+#define PROC_NDYNAMIC 8192 /* was 4096 previously, but was running out of
+ * slots when creating lots of VLANs --Ben */

#define PROC_SUPER_MAGIC 0x9fa0

--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.025 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site