Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/29/2002 19:40:27
Module Name: src
Committed By: thorpej
Date: Sun Dec 29 17:40:27 UTC 2002
Modified Files:
src/sys/kern: kern_synch.c
Log Message:
* Move the resched check from setrunnable() and resetpriority() to
a new inline, resched_proc().
* When performing the resched check, check the priority against the
current priority on the CPU the process last ran on, not always the
current CPU.
To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 src/sys/kern/kern_synch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.