Subject: kern/12030: uvm_anon_lockloanpg() can sleep with simplelock held
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 01/22/2001 15:10:18
>Number:         12030
>Category:       kern
>Synopsis:       uvm_anon_lockloanpg() can sleep with simplelock held
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 22 15:13:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jason R Thorpe
>Release:        Jan 22, 2001
>Organization:
6th and Hugo Software
>Environment:
	
System: NetBSD yeah-baby.shagadelic.org 1.5Q NetBSD 1.5Q (YEAH-BABY) #72: Sun Jan 7 15:20:50 PST 2001 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/alpha/compile/YEAH-BABY alpha
Architecture: alpha
Machine: alpha
>Description:
	uvm_anon_lockloanpg() is supposed to be called with the anon
	locked, and return with the anon locked.  However, with the
	anon locked, it calls uvm_lock_pageq(), which can sleep.

>How-To-Repeat:
	Code inspection.

>Fix:
	Not yet provided.  I'm submitting this PR as a reminder to
	fix it later.
>Release-Note:
>Audit-Trail:
>Unformatted: