summaryrefslogtreecommitdiffstats
path: root/etc/mtree
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 04:10:32 +0000
committerbde <bde@FreeBSD.org>1998-02-25 04:10:32 +0000
commit689816601019aa721c95320df5096cd8d8a9ee18 (patch)
tree0d4259f1ec5b03068568a968e02982c50a75afb6 /etc/mtree
parent014146c040ed6640e606b46e58c066fc3a1c442c (diff)
downloadFreeBSD-src-689816601019aa721c95320df5096cd8d8a9ee18.zip
FreeBSD-src-689816601019aa721c95320df5096cd8d8a9ee18.tar.gz
Fixed the calculation of `delta' in settime(). We once set all
times consistently wrong (up to 1 tick too late), but recent changes fixed the setting of the main clock, making other times inconsistent. The inconsistencies tended to show up as a negative resource usage for the process that set the time. Fixed the check for setting the clock backwards. A stale timestamp (`time') was checked, so it was possible to set the clock backwards by up to almost 1 tick. Until recently, this bug was compensated for by setting the clock consistently wrong. Merged the comment about setting the clock backwards from Lite2. Removed latency micro-optimizations/speed pessimizations in settime(). microtime() and set_timecounter() are relatively expensive, and they must be called together with clock updates blocked to get a consistent `delta', so significant latency optimizations are not possible. Removed some stale comments.
Diffstat (limited to 'etc/mtree')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud