Changeset 1ca98b27 in rtems

Timestamp:
05/05/21 18:32:13 (3 years ago)
Author:
Warner Losh <imp@…>
Branches:
5
Children:
fc06357
Parents:
2cf3700
git-author:
Warner Losh <imp@…> (05/05/21 18:32:13)
git-committer:
Moyano, Gabriel <gabriel.moyano@…> (11/16/21 08:48:22)
Message:

kern: clarify boot time

In FreeBSD, the current time is computed from uptime + boottime. Uptime
is a continuous, smooth function that's monotonically increasing. To
effect changes to the current time, boottime is adjusted. boottime is
mutable and shouldn't be cached against future need. Document the
current implementation, with the caveat that we may stop stepping
boottime on resume in the future and will step uptime instead (noted in
the commit message, but not in the code).

Sponsored by: Netflix
Reviewed by: phk, rpokala
Differential Revision: https://reviews.freebsd.org/D30116

(No files)

Note: See TracChangeset for help on using the changeset viewer.