Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 09/05/2000 19:27:53
Module Name:	syssrc
Committed By:	bouyer
Date:		Tue Sep  5 16:27:52 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_synch.c
	syssrc/sys/sys: proc.h

Log Message:
Implement suspendsched() by putting all sleeping and runnable processes
in SSTOP state, execpt P_SYSTEM and curproc processes. We have to way to
find the original state of the process so we can't restart scheduling,
so this can only be used at shutdown time.

XXX suspendsched() should also deal with processes running on other CPUs.
I don't know how to do that, and as long as we have a kernel big lock,
this shouldn't be a problem.


To generate a diff of this commit:
cvs rdiff -r1.93 -r1.94 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.104 -r1.105 syssrc/sys/sys/proc.h

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