Whoops, last commit on this file should have read "modified rss rlimit
authorDavid Greenman <davidg@Root.COM>
Fri, 17 Jun 1994 13:38:21 +0000 (13:38 +0000)
committerDavid Greenman <davidg@Root.COM>
Fri, 17 Jun 1994 13:38:21 +0000 (13:38 +0000)
to be 1/2 of free memory instead of 2/3 of free memory to work better
without pagescan".

sys/vm/vm_glue.c

index 333f0d7..99c38b7 100644 (file)
@@ -296,7 +296,7 @@ vm_init_limits(p)
         p->p_rlimit[RLIMIT_STACK].rlim_max = MAXSSIZ;
         p->p_rlimit[RLIMIT_DATA].rlim_cur = DFLDSIZ;
         p->p_rlimit[RLIMIT_DATA].rlim_max = MAXDSIZ;
         p->p_rlimit[RLIMIT_STACK].rlim_max = MAXSSIZ;
         p->p_rlimit[RLIMIT_DATA].rlim_cur = DFLDSIZ;
         p->p_rlimit[RLIMIT_DATA].rlim_max = MAXDSIZ;
-       /* limit the limit to no less than 128K */
+       /* limit the limit to no less than 128K */ 
        rss_limit = max(vm_page_free_count / 2, 32);
        p->p_rlimit[RLIMIT_RSS].rlim_cur = ptoa(rss_limit);
        p->p_rlimit[RLIMIT_RSS].rlim_max = RLIM_INFINITY;
        rss_limit = max(vm_page_free_count / 2, 32);
        p->p_rlimit[RLIMIT_RSS].rlim_cur = ptoa(rss_limit);
        p->p_rlimit[RLIMIT_RSS].rlim_max = RLIM_INFINITY;