Subject: CVS commit: [nathanw_sa] syssrc/sys
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 11/09/2002 04:30:07
Module Name: syssrc
Committed By: nathanw
Date: Sat Nov 9 02:30:07 UTC 2002
Modified Files:
syssrc/sys/kern [nathanw_sa]: kern_sa.c
syssrc/sys/sys [nathanw_sa]: savar.h
Log Message:
Remove the stack reservation hack; it has the unpleasant side effect
of placing an upper bound on the number of LWPs that can be in the kernel.
Instead, if we run out of stacks in sa_upcall_userret(), turn of the SA flag
for the LWP and sleep on the stack count. sa_stacks() then wakes up on that
count.
Also a little bit of whitespace cleanup.
To generate a diff of this commit:
cvs rdiff -r1.1.2.38 -r1.1.2.39 syssrc/sys/kern/kern_sa.c
cvs rdiff -r1.1.2.17 -r1.1.2.18 syssrc/sys/sys/savar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.