Subject: CVS commit: src/sys/arch/sparc/sparc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 01/17/2003 16:49:47
Module Name:	src
Committed By:	pk
Date:		Fri Jan 17 14:49:46 UTC 2003

Modified Files:
	src/sys/arch/sparc/sparc: locore.s

Log Message:
cpu_switch:
* return `switched to same process' only if that process was actually
  already on a run queue when we entered.
* skip the switch to the idle stack if we can switch immediately
* .. and because of this, don't release the scheduler lock until after
  we've fully switched to the new process's stack.


To generate a diff of this commit:
cvs rdiff -r1.183 -r1.184 src/sys/arch/sparc/sparc/locore.s

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