hi, > Module Name: src > Committed By: hannken > Date: Mon Jun 27 15:56:37 UTC 2011 > > Modified Files: > src/sys/uvm: uvm_amap.c > > Log Message: > amap_copy(): Keep the source amap locked until its lock has been copied.
btw, this code seems to assume that uvm_anfree does not release the lock even temporarily while the comment on uvm_anfree1 says the opposite. YAMAMOTO Takashi > > Kernel assertion "anon->an_lock == amap->am_lock" no longer fails. > > Ok: Mindaugas Rasiukevicius <rm...@netbsd.org> > > > To generate a diff of this commit: > cvs rdiff -u -r1.99 -r1.100 src/sys/uvm/uvm_amap.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.