OpenBSD cvs log

created 2022-11-24T23:06:16Z
begin 2022-11-08T18:08:43Z
end 2022-11-08T18:17:51Z
path src/sys
commits 1

date 2022-11-08T18:17:51Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
message tc_setclock: don't print a warning if tc_windup() rejects inittodr(9) time

During resume, it isn't necessarily a problem if the UTC time we get
from inittodr(9) lags behind the system UTC clock. In particular, if
the active timecounter's frequency is low enough, tc_delta() might not
overflow across a brief suspend.

Remove the misleading warning message. The code is behaving as
intended, just not in a way I anticipated when I added the warning
message a few years ago.

Discovered by kettenis@. Root cause isolated with kettenis@.

Link: https://marc.info/?l=openbsd-tech&m=166790845619897&w=2

ok mlarkin@ kettenis@