svn commit: r206584 - head/sys/mips/mips
Neel Natu
neel at FreeBSD.org
Wed Apr 14 01:57:54 UTC 2010
Author: neel
Date: Wed Apr 14 01:57:53 2010
New Revision: 206584
URL: http://svn.freebsd.org/changeset/base/206584
Log:
Destroy the pmap 'pm_mutex' in pmap_release() otherwise we will panic
subsequently in pmap_pinit() with the following signature:
panic: lock "pmap" 0xc7878bc8 already initialized
This bug was uncovered by the changes made to vm_map.c in r206140.
Modified:
head/sys/mips/mips/pmap.c
Modified: head/sys/mips/mips/pmap.c
==============================================================================
--- head/sys/mips/mips/pmap.c Wed Apr 14 01:43:25 2010 (r206583)
+++ head/sys/mips/mips/pmap.c Wed Apr 14 01:57:53 2010 (r206584)
@@ -1263,6 +1263,7 @@ pmap_release(pmap_t pmap)
ptdpg->wire_count--;
atomic_subtract_int(&cnt.v_wire_count, 1);
vm_page_free_zero(ptdpg);
+ PMAP_LOCK_DESTROY(pmap);
}
/*
More information about the svn-src-all
mailing list