call setupclock
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Thu, 23 Apr 1981 17:59:30 +0000 (09:59 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Thu, 23 Apr 1981 17:59:30 +0000 (09:59 -0800)
SCCS-vsn: sys/kern/init_main.c 4.14

usr/src/sys/kern/init_main.c

index cef1da5..d21b297 100644 (file)
@@ -1,4 +1,4 @@
-/*     init_main.c     4.13    81/04/13        */
+/*     init_main.c     4.14    81/04/23        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -45,8 +45,6 @@ main(firstaddr)
 
        rqinit();
        startup(firstaddr);
 
        rqinit();
        startup(firstaddr);
-       if (lotsfree == 0)
-               lotsfree = LOTSFREE;
 
        /*
         * set up system process 0 (swapper)
 
        /*
         * set up system process 0 (swapper)
@@ -96,6 +94,11 @@ main(firstaddr)
        u.u_dmap = zdmap;
        u.u_smap = zdmap;
 
        u.u_dmap = zdmap;
        u.u_smap = zdmap;
 
+       /*
+        * Set the scan rate and other parameters of the paging subsystem.
+        */
+       setupclock();
+
        /*
         * make page-out daemon (process 2)
         * the daemon has ctopt(nswbuf*CLSIZE*KLMAX) pages of page
        /*
         * make page-out daemon (process 2)
         * the daemon has ctopt(nswbuf*CLSIZE*KLMAX) pages of page