Subject: CVS commit: syssrc/sys/arch/alpha/alpha
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/30/2002 19:05:14
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Apr 30 16:05:14 UTC 2002

Modified Files:
	syssrc/sys/arch/alpha/alpha: locore.s

Log Message:
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 on i386 by Frank van der Linden <fvdl@wasabisystems.com>.


To generate a diff of this commit:
cvs rdiff -r1.98 -r1.99 syssrc/sys/arch/alpha/alpha/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.