summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-03-13 08:18:54 +0000
committermav <mav@FreeBSD.org>2012-03-13 08:18:54 +0000
commitffaa080e67a7f9d93841c0fdff2afac0b9b099b4 (patch)
tree0960a1ec41f32f1fa428ecce92cfa898b5ce7f5f /sys/fs/nullfs
parent96d217f5d839cc75f7d19ab0f7b102d365bbe9f7 (diff)
downloadFreeBSD-src-ffaa080e67a7f9d93841c0fdff2afac0b9b099b4.zip
FreeBSD-src-ffaa080e67a7f9d93841c0fdff2afac0b9b099b4.tar.gz
Rewrite thread CPU usage percentage math to not depend on periodic calls
with HZ rate through the sched_tick() calls from hardclock(). Potentially it can be used to improve precision, but now it is just minus one more reason to call hardclock() for every HZ tick on every active CPU. SCHED_4BSD never used sched_tick(), but keep it in place for now, as at least SCHED_FBFS existing in patches out of the tree depends on it. MFC after: 1 month
Diffstat (limited to 'sys/fs/nullfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud