HomeFreeBSD

timerfd: Suppress kqueue readability after jump read

Description

timerfd: Suppress kqueue readability after jump read

Do not report EVFILT_READ after reading a discontinuous clock jump.
This makes the kqueue filter consistent with Linux epoll behavior
and timerfd_poll(), which already checks tfd_jumped != TFD_READ before
reporting POLLIN.

MFC after: 2 weeks

Details

Provenance
jfreeAuthored on Mar 20 2026, 6:34 AM
Parents
rGb11fba41265a: timerfd: Wake up on discontinuous jump
Branches
Unknown
Tags
Unknown