summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-20 23:03:20 +0000
committerjhb <jhb@FreeBSD.org>2001-01-20 23:03:20 +0000
commitbf9da1eab7d31db915d88e35dad4638d4c47b3ca (patch)
treebf4357f78a7e6668cd6a0c13426b1e7fd9b55f6f /usr.bin
parentb1328b8ed8e368e742d6b3dea2ba288def69f9a9 (diff)
downloadFreeBSD-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud