[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/44387 CVS commit: src/sys/arch/powerpc/powerpc
The following reply was made to PR port-powerpc/44387; it has been noted by GNATS.
From: "Chuck Silvers" <chs%netbsd.org@localhost>
Subject: PR/44387 CVS commit: src/sys/arch/powerpc/powerpc
Date: Tue, 28 Feb 2017 17:35:29 +0000
Module Name: src
Committed By: chs
Date: Tue Feb 28 17:35:29 UTC 2017
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 -r1.55 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 |