Subject: kern/32543: anon faults in kernel_map are broken
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 01/16/2006 09:05:00
>Number:         32543
>Category:       kern
>Synopsis:       anon faults in kernel_map are broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 16 09:05:00 +0000 2006
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 3.99.15
>Organization:

>Environment:
	
	
System: NetBSD kaeru 3.99.15 NetBSD 3.99.15 (build.kaeru.xen.nodebug) #: Wed Jan 11 23:14:36 JST 2006 takashi@kaeru:/home/takashi/work/kernel/build.kaeru.xen.nodebug i386
Architecture: i386
Machine: i386
>Description:
	anon faults in kernel_map (eg. uvm_io) don't work because
	we can't allocate anons with kernel_map locked these days.
>How-To-Repeat:
	code inspection.
>Fix:
	one of the followings?
	- allocate an anon before locking the map.
	- drop the lock and re-lock.
	- use a dedicated submap for uvm_io.
	- use a submap for anons.

>Unformatted: