Convert almost all of the remaining manual traversals of the allproc
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 25 May 2006 07:36:37 +0000 (07:36 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 25 May 2006 07:36:37 +0000 (07:36 +0000)
commit8fa762378a6a238beeecb5a2225e1b593482db0b
tree1bc5e4be6c497a4495b48659af5e061f18d0671b
parent0e5797fe2dbcc825fc9402e3b05e3f486a6bf7eb
Convert almost all of the remaining manual traversals of the allproc
list over to allproc_scan().

The allproc_scan() code is MPSAFE, and code which before just cached
a proc pointer now PHOLD's it as well, but access to the various proc
fields is *NOT* yet MPSAFE.  Still, we are closer now.
13 files changed:
sys/i386/i386/db_trace.c
sys/kern/init_main.c
sys/kern/kern_descrip.c
sys/kern/kern_resource.c
sys/kern/kern_sig.c
sys/kern/kern_synch.c
sys/kern/vfs_syscalls.c
sys/platform/pc32/i386/db_trace.c
sys/sys/proc.h
sys/vm/vm_glue.c
sys/vm/vm_meter.c
sys/vm/vm_object.c
sys/vm/vm_pageout.c