Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 1999 09:20:04 -0800 (PST)
From:      Mitja Horvat <mitja@ksop-cscp.si>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/15420: 3.3-RELEASE Kernel freeze
Message-ID:  <199912121720.JAA25689@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR kern/15420; it has been noted by GNATS.

From: Mitja Horvat <mitja@ksop-cscp.si>
To: freebsd-gnats-submit@freebsd.org, mitja@ksop-cscp.si
Cc:  
Subject: Re: kern/15420: 3.3-RELEASE Kernel freeze
Date: Sun, 12 Dec 1999 19:19:10 +0100

 In the last bug report I sent the wrong patch. Sorry for the inconvenience.
 The right patch is this:
 --------------------------------->8--------------------------------
 --- vm_pageout.c.orig   Mon Aug 30 00:42:11 1999
 +++ vm_pageout.c        Sun Dec 12 18:16:38 1999
 @@ -1136,8 +1136,9 @@
          * make sure that we have swap space -- if we are low on memory and
          * swap -- then kill the biggest process.
          */
 -       if ((vm_swap_size == 0 || swap_pager_full) &&
 -           ((cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min)) {
 +       if (vm_swap_size == 0 &&   
 +          (cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min ||
 +          swap_pager_full) {
                 bigproc = NULL;
                 bigsize = 0;
                 for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) {
 --------------------------------->8--------------------------------
 
 Regards,
 Mitja
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912121720.JAA25689>