> > Module Name: src > > Committed By: matt > > Date: Wed Sep 28 22:52:16 UTC 2011 > > > > Modified Files: > > src/sys/uvm: uvm_page.c uvm_pager.c uvm_pager.h > > > > Log Message: > > Reallocate emergency pager va when ncolors is increased. (modication of > > patch from mrg). > > This panics LOCKDEBUG kernels as the call to uvm_pager_realloc_emerg() > in function uvm_page_recolor(), file uvm_page.c:1048 with spin > lock uvm_fpageqlock held leads to: > > Mutex error: lockdebug_barrier: spin lock held > db{0}> bt > mutex_enter() at netbsd:mutex_enter+0x4a3 > uvm_km_check_empty() at netbsd:uvm_km_check_empty+0x73 > uvm_map() at netbsd:uvm_map+0x1a2 > uvm_km_alloc() at netbsd:uvm_km_alloc+0xe4 > uvm_pager_realloc_emerg() at netbsd:uvm_pager_realloc_emerg+0x5b > uvm_page_recolor() at netbsd:uvm_page_recolor+0x35b > cpu_attach() at netbsd:cpu_attach+0x333
this was the uvm_fpageqlock. it should be fixed now with uvm_page.c 1.177. .mrg.