public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.21: Increase dynamic proc slots to 8192 from 4096
@ 2003-08-14  0:08 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2003-08-14  0:08 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-14  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14  0:08 [PATCH] 2.4.21: Increase dynamic proc slots to 8192 from 4096 Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox