Subject: An MP stability problem fixed
To: None <>
From: Jason R Thorpe <>
List: port-alpha
Date: 04/30/2002 09:10:21
For anyone who's been running NetBSD/alpha with multiprocessor support
enabled, this should fix a stability problem that appears as the kernel
jumping to a completely invalid address.

----- Forwarded message from Jason R Thorpe <> -----

Date: Tue, 30 Apr 2002 19:05:14 +0300 (EEST)
From: Jason R Thorpe <>
Subject: CVS commit: syssrc/sys/arch/alpha/alpha

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

Bug spotted on i386 by Frank van der Linden <>.

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.

----- End forwarded message -----

        -- Jason R. Thorpe <>