Subject: PR/32330 CVS commit: src/sys/kern
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 12/20/2005 15:55:05
The following reply was made to PR kern/32330; it has been noted by GNATS.

From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32330 CVS commit: src/sys/kern
Date: Tue, 20 Dec 2005 15:52:14 +0000 (UTC)

 Module Name:	src
 Committed By:	christos
 Date:		Tue Dec 20 15:52:14 UTC 2005
 
 Modified Files:
 	src/sys/kern: subr_pool.c
 
 Log Message:
 Commit temporary fix against kva starvation from yamt:
 
 - pool_allocator_alloc: drain ourselves as well,
   so that pool_cache on us is drained as well.
 - pool_cache_put_paddr: destruct objects if underlying pool is starved.
 - pool_get: on kva starvation, wake up once a second and try again.
 
 Fixes:
 PR/32287: Processes hang in "mclpl"
 PR/32330: shark kernel hangs under memory load.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.108 -r1.109 src/sys/kern/subr_pool.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.