Subject: CVS commit: src/sys/uvm
To: None <source-changes@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 10/12/2007 06:45:18
Module Name:	src
Committed By:	skrll
Date:		Fri Oct 12 06:45:18 UTC 2007

Modified Files:
	src/sys/uvm: uvm_map.c

Log Message:
Don't restrict the offset when allocating a map entry for in-kernel map -
use UVM_UNKNOWN_OFFSET in the call to uvm_map_prepare.

This fixes a '"panic: malloc: out of space in kmem_map" when it's not
really' testcase of mine, and one reported to me by chuq. This is likely
to fix PR/35587 as well.

Looks/seems fine to me from chuq and yamt. Thanks.


To generate a diff of this commit:
cvs rdiff -r1.241 -r1.242 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.