NetBSD-Bugs archive

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

Re: PR/40027 CVS commit: src/sys/uvm



On Sat, Dec 13, 2008 at 12:55:01PM +0000, Andrew Doran wrote:
> [...]
>  On Sat, Dec 13, 2008 at 11:26:57AM +0000, Andrew Doran wrote:
>  > 
>  > Module Name:       src
>  > Committed By:      ad
>  > Date:              Sat Dec 13 11:26:57 UTC 2008
>  > 
>  > Modified Files:
>  >    src/sys/uvm: uvm_pdaemon.c
>  > 
>  > Log Message:
>  > PR 40027/pagedaemon loops on memory shortage
>  > 
>  > uvmpd_scan_queue:
>  > 
>  > - Fix a bug that prevented the pagedaemon from making forward progress
>  >   if (a) swap was full (b) the first 16 pages on the inactive list were
>  >   unbusy anons not already backed by swap.
>  > 
>  > - Remove redundant uvm_swapisfull() check and just try to allocate a slot.
>  >   If it fails we know swap is full.

With an up to date kernel I can't reproduce this problem any more.
With a loop running the test program, while a tar is running in parallel
filling up the file cache, the test system survived 20mn (it hangs in
less than a minute on netbsd-5).
thanks !

Now seeing how it behaves with a pbulk build ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index