Subject: CVS commit: syssrc/sys/arch/powerpc/powerpc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 07/28/2002 10:05:07
Module Name: syssrc
Committed By: chs
Date: Sun Jul 28 07:05:06 UTC 2002
Modified Files:
syssrc/sys/arch/powerpc/powerpc: locore_subr.S
Log Message:
propagate the MP idle-loop fix to ppc from the other ports:
Move call to sched_unlock_idle to later in the context switch to
eliminate a race where another processor could grab the outgoing
process before we were done saving our state into it, with predictable
results.
Bug spotted by Frank van der Linden <fvdl@wasabisystems.com>
also, don't re-enable interrupts temporarily in the middle of
switching to a new process, just wait until we're completely switched.
this didn't work on MP and it's not worth the effort.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 syssrc/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.