Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 10/02/2005 17:51:27
Module Name: src
Committed By: chs
Date: Sun Oct 2 17:51:27 UTC 2005
Modified Files:
src/sys/kern: kern_sa.c kern_sig.c kern_synch.c kern_time.c
src/sys/sys: savar.h signalvar.h
Log Message:
avoid calling into the pool code while holding sched_lock
since both pool_get() and pool_put() can call wakeup().
instead, allocate the struct sadata_upcall before taking
sched_lock in mi_switch() and free it after releasing sched_lock.
clean up some modularity warts by adding a callback to
struct sadata_upcall for freeing sa_arg.
To generate a diff of this commit:
cvs rdiff -r1.65 -r1.66 src/sys/kern/kern_sa.c
cvs rdiff -r1.208 -r1.209 src/sys/kern/kern_sig.c
cvs rdiff -r1.149 -r1.150 src/sys/kern/kern_synch.c
cvs rdiff -r1.93 -r1.94 src/sys/kern/kern_time.c
cvs rdiff -r1.15 -r1.16 src/sys/sys/savar.h
cvs rdiff -r1.58 -r1.59 src/sys/sys/signalvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.