[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bigger datasize for amiga processes.



I'm thinking of upping MAXDSIZ a bit, since I'm very close
to having 128M memory and hit this limit far to soon while
compiling bloat-stuff (KDE2).

Before I test this, is there other stuff that is affected that
I'm not aware of? Will it cause major pains for smaller machines
or grow other tables out of proportion?

As far as I can tell, this is just used to populate
 p->p_rlimit[RLIMIT_DATA].rlim_max when launching processes,
but might there be other stuff that is affected?

FYI, MAXDSIZ ranges from 24M to 1G depending
on platforms otherwise.

Index: vmparam.h
===================================================================
RCS file: /cvs/src/sys/arch/amiga/include/vmparam.h,v
retrieving revision 1.11
diff -u -r1.11 vmparam.h
--- vmparam.h   2001/05/06 00:45:48     1.11
+++ vmparam.h   2001/05/09 13:31:37
@@ -76,7 +76,7 @@
 #define        DFLDSIZ         (32*1024*1024)          /* initial data size 
limit */
 #endif
 #ifndef MAXDSIZ
-#define        MAXDSIZ         (128*1024*1024)         /* max data size */
+#define        MAXDSIZ         (256*1024*1024)         /* max data size */
 #endif
 #ifndef        DFLSSIZ
 #define        DFLSSIZ         (2*1024*1024)           /* initial stack size 
limit */

-- 
-"Some mornings it's just not worth gnawing through the straps."