diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-20 23:03:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-20 23:03:20 +0000 |
commit | bf9da1eab7d31db915d88e35dad4638d4c47b3ca (patch) | |
tree | bf4357f78a7e6668cd6a0c13426b1e7fd9b55f6f /usr.bin/killall | |
parent | b1328b8ed8e368e742d6b3dea2ba288def69f9a9 (diff) | |
download | FreeBSD-src-bf9da1eab7d31db915d88e35dad4638d4c47b3ca.zip FreeBSD-src-bf9da1eab7d31db915d88e35dad4638d4c47b3ca.tar.gz |
- All of proc_compare needs sched_lock, so hold it for the for loop that
calls it rather than obtaining and releasing it a lot in proc_compare.
- Collect all of the data gathering and stick it just after the
proc_compare loop. This way, we only have to grab sched_lock once now
when handling SIGINFO. All the printf's are done after the values are
calculated.
Submitted mostly by: bde
Diffstat (limited to 'usr.bin/killall')
0 files changed, 0 insertions, 0 deletions