| commit | d1f939cede4a1eb7137feb892450e0e2b650cc6c | [log] [download] |
|---|---|---|
| author | guenther <guenther> | Fri Jul 04 05:58:31 2014 +0000 |
| committer | guenther <guenther> | Fri Jul 04 05:58:31 2014 +0000 |
| tree | 92e4a5e760e47f87ccf1a48172339da027876fb2 | |
| parent | 1aae53596dd1bd657d534c7a0392826cbff2265c [diff] |
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@