Page MenuHomeFreeBSD

timerfd_read(): stop setting td_rtcgen
ClosedPublic

Authored by kib on Aug 8 2025, 10:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 22, 2:30 AM
Unknown Object (File)
Sun, Oct 12, 7:12 PM
Unknown Object (File)
Sun, Oct 12, 5:42 PM
Unknown Object (File)
Fri, Oct 10, 3:57 PM
Unknown Object (File)
Fri, Oct 10, 3:57 PM
Unknown Object (File)
Fri, Oct 10, 3:57 PM
Unknown Object (File)
Fri, Oct 10, 3:57 PM
Unknown Object (File)
Fri, Oct 10, 9:52 AM
Subscribers

Details

Summary
The sleep is not time-bound.  More, setting td_rtcgen and not clearing
it would cause future sleeps to be spuriously interrupted.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Aug 8 2025, 10:51 PM
kib retitled this revision from timerfd_read(): avoid leaking td_rtcgen to timerfd_read(): stop setting td_rtcgen.
kib edited the summary of this revision. (Show Details)

Redo the patch completely: setting td_rtcgen is not needed at all.

This revision is now accepted and ready to land.Aug 8 2025, 11:34 PM
This revision was automatically updated to reflect the committed changes.