Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/uvm



> 
> On Sep 29, 2011, at 12:52 AM, Matt Thomas wrote:
> 
> > 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

ah... this is the crash i saw that made me not commit my patch :-)


.mrg.


Home | Main Index | Thread Index | Old Index