[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/44387 CVS commit: [netbsd-7] src/sys/arch/powerpc/powerpc
The following reply was made to PR port-powerpc/44387; it has been noted by GNATS.
From: "Soren Jacobsen" <snj%netbsd.org@localhost>
Subject: PR/44387 CVS commit: [netbsd-7] src/sys/arch/powerpc/powerpc
Date: Wed, 19 Apr 2017 17:02:43 +0000
Module Name: src
Committed By: snj
Date: Wed Apr 19 17:02:43 UTC 2017
src/sys/arch/powerpc/powerpc [netbsd-7]: locore_subr.S
Pull up following revision(s) (requested by phx in ticket #1382):
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.55
in cpu_switchto() and the fast-softint context switch code,
put back the stwcx. instruction to clear the reservation.
we used to have this in the old cpu_switch() until it was
if-0'd in 2003 and removed completely in 2007.
this fixes hangs I've seen where a softint thread is
blocked waiting for a mutex that is not held.
this should also fix PR 44387.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r126.96.36.199 src/sys/arch/powerpc/powerpc/locore_subr.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |