Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/arch/powerpc/powerpc



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@localhost>

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.




Home | Main Index | Thread Index | Old Index