]> Zhao Yanbai Git Server - minix.git/commitdiff
DS: base number of data entries on NR_SYS_PROCS
authorDavid van Moolenbroek <david@minix3.org>
Wed, 12 May 2010 13:21:15 +0000 (13:21 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 12 May 2010 13:21:15 +0000 (13:21 +0000)
servers/ds/store.h

index 1ef27172921a14fe7f86ea2ef0b7701d7c001fa1..ccf7edc82f53493ff47c8dbc3bbf7b2f1a2206ce 100644 (file)
@@ -3,13 +3,13 @@
 
 /* Type definitions for the Data Store Server. */
 #include <sys/types.h>
-#include <minix/sys_config.h>
+#include <minix/config.h>
 #include <minix/ds.h>
 #include <minix/bitmap.h>
 #include <regex.h>
 
-#define NR_DS_KEYS     64      /* number of entries */
-#define NR_DS_SUBS     (4*_NR_SYS_PROCS)       /* number of subscriptions */
+#define NR_DS_KEYS     (2*NR_SYS_PROCS)        /* number of entries */
+#define NR_DS_SUBS     (4*NR_SYS_PROCS)        /* number of subscriptions */
 #define NR_DS_SNAPSHOT 5       /* number of snapshots */
 
 /* Base 'class' for the following 3 structs. */