Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 06/13/1996 13:00:07
cgd
Thu Jun 13 12:52:09 EDT 1996
Update of /a/cvsroot/src/sys/vm
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv8175/vm

Modified Files:
	vm_kern.c 
Log Message:
allow kmem_malloc to return NULL if canwait is set and there's no map space
left, rather than panic()ing.  This allows callers to set their own policy
for how to handle the shortage.  Add a few comments.


cgd
Thu Jun 13 12:53:37 EDT 1996
Update of /a/cvsroot/src/sys/kern
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv8222/kern

Modified Files:
	kern_malloc.c 
Log Message:
handle the case where kmem_malloc() returns NULL in the 'can wait' case.
Right now, this code just panic()s (same as kmem_malloc() used to do
before, but different message), but in the future it should be modified
to try to reclaim wasted memory.