CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/07/03 23:58:31
Modified files:
sys/sys : proc.h sysctl.h
sys/kern : kern_exit.c kern_fork.c kern_proc.c kern_sig.c
kern_sysctl.c sched_bsd.c tty.c
sys/miscfs/procfs: procfs_cmdline.c
lib/libkvm : kvm_file2.c kvm_proc.c kvm_proc2.c
bin/ps : print.c
usr.bin/tmux : procname.c
usr.bin/top : machine.c
usr.bin/w : proc_compare.c w.c
usr.sbin/snmpd : mib.c
Log message:
Track whether a process is a zombie or not yet fully built via flags
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's
thread data. This eliminates the need for the thread-level SDEAD state.
Change kvm_getprocs() (both the sysctl() and kvm backends) to report the
"most active" scheduler state for the process's threads.
tweaks kettenis@
feedback and ok matthew@