Subject: CVS commit: [vmlocking] src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 10/25/2007 19:43:13
Module Name: src
Committed By: ad
Date: Thu Oct 25 19:43:13 UTC 2007
Modified Files:
src/sys/kern [vmlocking]: kern_exec.c kern_exit.c kern_fork.c
kern_lwp.c kern_proc.c kern_systrace.c sys_process.c
src/sys/miscfs/procfs [vmlocking]: procfs_ctl.c procfs_fd.c
procfs_linux.c procfs_subr.c procfs_vfsops.c procfs_vnops.c
src/sys/sys [vmlocking]: proc.h
Log Message:
- Simplify debugger/procfs reference counting of processes. Use a per-proc
rwlock: rw_tryenter(RW_READER) to gain a reference, and rw_enter(RW_WRITER)
by the process itself to drain out reference holders before major changes
like exiting.
- Fix numerous bugs and locking issues in procfs.
- Mark procfs MPSAFE.
To generate a diff of this commit:
cvs rdiff -r1.243.2.4 -r1.243.2.5 src/sys/kern/kern_exec.c
cvs rdiff -r1.169.2.14 -r1.169.2.15 src/sys/kern/kern_exit.c
cvs rdiff -r1.136.2.8 -r1.136.2.9 src/sys/kern/kern_fork.c
cvs rdiff -r1.61.2.23 -r1.61.2.24 src/sys/kern/kern_lwp.c
cvs rdiff -r1.107.2.15 -r1.107.2.16 src/sys/kern/kern_proc.c
cvs rdiff -r1.70.2.4 -r1.70.2.5 src/sys/kern/kern_systrace.c
cvs rdiff -r1.123.2.6 -r1.123.2.7 src/sys/kern/sys_process.c
cvs rdiff -r1.40.2.2 -r1.40.2.3 src/sys/miscfs/procfs/procfs_ctl.c
cvs rdiff -r1.11 -r1.11.6.1 src/sys/miscfs/procfs/procfs_fd.c
cvs rdiff -r1.33.2.4 -r1.33.2.5 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -r1.79.2.3 -r1.79.2.4 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.70.6.2 -r1.70.6.3 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -r1.154.2.6 -r1.154.2.7 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.243.2.7 -r1.243.2.8 src/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.