Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/09/2007 14:11:29
Module Name: src
Committed By: ad
Date: Fri Mar 9 14:11:29 UTC 2007
Modified Files:
src/sys/arch/vax/vax: pmap.c
src/sys/compat/darwin: darwin_sysctl.c
src/sys/compat/freebsd: freebsd_sched.c
src/sys/compat/hpux: hpux_compat.c
src/sys/compat/irix: irix_signal.c
src/sys/compat/linux/common: linux_exec.c linux_file.c
src/sys/compat/svr4: svr4_misc.c
src/sys/compat/svr4_32: svr4_32_misc.c
src/sys/kern: core_elf32.c init_main.c init_sysctl.c kern_acct.c
kern_core.c kern_descrip.c kern_exec.c kern_exit.c kern_fork.c
kern_ktrace.c kern_proc.c kern_prot.c kern_resource.c kern_sig.c
kern_systrace.c kern_time.c sys_process.c sys_sig.c tty.c tty_tty.c
vfs_syscalls.c vfs_vnops.c
src/sys/miscfs/procfs: procfs_ctl.c procfs_linux.c procfs_status.c
procfs_subr.c procfs_vnops.c
src/sys/sys: proc.h
Log Message:
- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.
To generate a diff of this commit:
cvs rdiff -r1.146 -r1.147 src/sys/arch/vax/vax/pmap.c
cvs rdiff -r1.49 -r1.50 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.8 -r1.9 src/sys/compat/freebsd/freebsd_sched.c
cvs rdiff -r1.89 -r1.90 src/sys/compat/hpux/hpux_compat.c
cvs rdiff -r1.38 -r1.39 src/sys/compat/irix/irix_signal.c
cvs rdiff -r1.93 -r1.94 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.79 -r1.80 src/sys/compat/linux/common/linux_file.c
cvs rdiff -r1.124 -r1.125 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -r1.42 -r1.43 src/sys/compat/svr4_32/svr4_32_misc.c
cvs rdiff -r1.29 -r1.30 src/sys/kern/core_elf32.c
cvs rdiff -r1.297 -r1.298 src/sys/kern/init_main.c
cvs rdiff -r1.97 -r1.98 src/sys/kern/init_sysctl.c
cvs rdiff -r1.72 -r1.73 src/sys/kern/kern_acct.c
cvs rdiff -r1.3 -r1.4 src/sys/kern/kern_core.c
cvs rdiff -r1.151 -r1.152 src/sys/kern/kern_descrip.c
cvs rdiff -r1.241 -r1.242 src/sys/kern/kern_exec.c
cvs rdiff -r1.168 -r1.169 src/sys/kern/kern_exit.c
cvs rdiff -r1.135 -r1.136 src/sys/kern/kern_fork.c
cvs rdiff -r1.118 -r1.119 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.106 -r1.107 src/sys/kern/kern_proc.c
cvs rdiff -r1.100 -r1.101 src/sys/kern/kern_prot.c
cvs rdiff -r1.115 -r1.116 src/sys/kern/kern_resource.c
cvs rdiff -r1.250 -r1.251 src/sys/kern/kern_sig.c
cvs rdiff -r1.69 -r1.70 src/sys/kern/kern_systrace.c
cvs rdiff -r1.116 -r1.117 src/sys/kern/kern_time.c
cvs rdiff -r1.122 -r1.123 src/sys/kern/sys_process.c
cvs rdiff -r1.6 -r1.7 src/sys/kern/sys_sig.c
cvs rdiff -r1.192 -r1.193 src/sys/kern/tty.c
cvs rdiff -r1.33 -r1.34 src/sys/kern/tty_tty.c
cvs rdiff -r1.304 -r1.305 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.134 -r1.135 src/sys/kern/vfs_vnops.c
cvs rdiff -r1.39 -r1.40 src/sys/miscfs/procfs/procfs_ctl.c
cvs rdiff -r1.32 -r1.33 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -r1.31 -r1.32 src/sys/miscfs/procfs/procfs_status.c
cvs rdiff -r1.78 -r1.79 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.153 -r1.154 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.242 -r1.243 src/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.