Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcc3.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcc3!muller From: muller@sdcc3.UUCP (Keith Muller) Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Re: 4.2 does not properly size the virtual memory paging point Message-ID: <2604@sdcc3.UUCP> Date: Fri, 4-Jan-85 18:02:26 EST Article-I.D.: sdcc3.2604 Posted: Fri Jan 4 18:02:26 1985 Date-Received: Sun, 6-Jan-85 01:14:54 EST References: <2598@sdcc3.UUCP> Organization: U.C. San Diego, Academic Computer Center Lines: 45 Xref: watmath net.bugs.4bsd:1312 net.unix-wizards:11371 > Index: sys/sys/vm_sched.c sys/vax/vmparam.h 4.2BSD > > Description: > At boot time 4.2 will size the paging point and swapping point > according to the amount of free main memory is available. The > algorithim used for sizing lotsfree (the paging point) does not > ..... The submitted fix was missing a pair of {}. The correct fix is: RCS file: RCS/vm_sched.c,v retrieving revision 1.1 diff -c -r1.1 vm_sched.c *** /tmp/,RCSt1001834 Tue Jan 1 14:56:27 1985 --- vm_sched.c Tue Jan 1 14:53:22 1985 *************** *** 54,61 * minfree is minimal amount of free memory which is * tolerable. */ ! if (lotsfree == 0) ! lotsfree = LOOPPAGES / LOTSFREEFRACT; if (desfree == 0) { desfree = DESFREE / NBPG; if (desfree > LOOPPAGES / DESFREEFRACT) --- 54,64 ----- * minfree is minimal amount of free memory which is * tolerable. */ ! if (lotsfree == 0){ ! lotsfree = LOTSFREE / NBPG; ! if (lotsfree > LOOPPAGES / LOTSFREEFRACT) ! lotsfree = LOOPPAGES / LOTSFREEFRACT; ! } if (desfree == 0) { desfree = DESFREE / NBPG; if (desfree > LOOPPAGES / DESFREEFRACT) Sorry for the error, i made a keystroke error while checking in the rcs file. Keith Muller University of California Academic Computer Center