OtpR8B loops on configure (solved)

Vance Shipley <>
Fri Nov 9 00:39:22 CET 2001


Mikael,

Any idea why this patch is incompatible with your test?
It is used to get over a limitation with the Dialogic
drivers where you can only have 300 of their devices
open once.

	-Vance

Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816




--- 2340-p5/mm/slab.c   Tue Jan 18 10:48:32 2000
+++ linux/mm/slab.c     Tue Jan 18 11:30:17 2000
@@ -299,10 +299,10 @@
 #define        SLAB_C_MAGIC            0x4F17A36DUL

 /* maximum size of an obj (in 2^order pages) */
-#define        SLAB_OBJ_MAX_ORDER      5       /* 32 pages */
+#define        SLAB_OBJ_MAX_ORDER      6       /* 64 pages */

 /* maximum num of pages for a slab (prevents large requests to the VM
layer) */
-#define        SLAB_MAX_GFP_ORDER      5       /* 32 pages */
+#define        SLAB_MAX_GFP_ORDER      6       /* 64 pages */

 /* the 'preferred' minimum num of objs per slab - maybe less for large objs
*/
 #define        SLAB_MIN_OBJS_PER_SLAB  4
@@ -346,6 +346,7 @@
        {32768,         NULL},
        {65536,         NULL},
        {131072,        NULL},
+       {262144,        NULL},
        {0,             NULL}
 };

@@ -368,7 +369,8 @@
        "size-16384",
        "size-32768",
        "size-65536",
-       "size-131072"
+       "size-131072",
+       "size-262144"
 };

 /* internal cache of cache description objs */





More information about the erlang-questions mailing list