Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/20/2005 15:52:14
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.