Date: Sat, 7 Jul 2012 10:20:04 -0400 From: Justin Hibbits <chmeeedalf@gmail.com> To: freebsd-ppc@freebsd.org Cc: alc@freebsd.org Subject: Panic with latest pmap lock changes. Message-ID: <20120707102004.3e874201@narn.knownspace>
next in thread | raw e-mail | index | archive | help
--MP_/=yp8b+xTANc5VsOBTVQLI=Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Looks like I spoke too soon about the pmap lock changes working on my G4. After about 24 hours of uptime, it panicked with the following: _rw_wlock_hard: recursing but non-recursive rw pmap pv global @ /home/chmeee/freebsd/src/sys/powerpc/aim/mmu_oea.c:2301 I think the attached patch should fix it (Untested, except for compiling). - Justin --MP_/=yp8b+xTANc5VsOBTVQLI=Y Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=mmu_oea.diff Index: sys/powerpc/aim/mmu_oea.c =================================================================== --- sys/powerpc/aim/mmu_oea.c (revision 238165) +++ sys/powerpc/aim/mmu_oea.c (working copy) @@ -874,7 +874,7 @@ /* * Initialize the global pv list lock. */ - rw_init(&pvh_global_lock, "pmap pv global"); + rw_init_flags(&pvh_global_lock, "pmap pv global", RW_RECURSE); /* * Set up the Open Firmware mappings --MP_/=yp8b+xTANc5VsOBTVQLI=Y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120707102004.3e874201>