| #
4b16ff49
|
| 26-Mar-2026 |
Jake Freeland <jfree@FreeBSD.org> |
timerfd: Guard expected performance failure
During the timerfd__periodic_timer_performance test, only expect failures when the expiration count is less than 400000000. This prevents the test from be
timerfd: Guard expected performance failure
During the timerfd__periodic_timer_performance test, only expect failures when the expiration count is less than 400000000. This prevents the test from being reported as a true failure in environments where scheduling latency is high enough to delay timerfd wakeups.
Fixes: cb692380f1e0 ("timerfd: Expect periodic timer ...") MFC after: 1 week
show more ...
|
| #
cb692380
|
| 25-Mar-2026 |
Jake Freeland <jfree@FreeBSD.org> |
timerfd: Expect periodic timer performance failures
The current timerfd implementation fails to correctly count events on a nanosecond callout interval. The timerfd__periodic_timer_performance test
timerfd: Expect periodic timer performance failures
The current timerfd implementation fails to correctly count events on a nanosecond callout interval. The timerfd__periodic_timer_performance test detects this and reports failure.
Mark this test as an expected failure so it isn't flagged by CI. A link to the bug report is attached to the test for reference.
While we're here, clean up some minor style and Make issues.
Fixes: 834c1ba793d9 ("timerfd: Add tests") MFC after: 1 week
show more ...
|
| #
85c0f1a8
|
| 20-Mar-2026 |
Jake Freeland <jfree@FreeBSD.org> |
timerfd: Fix interval callout scheduling
When a timerfd interval callout misses its scheduled activation time, a differential is calculated based on the actual activation time and the scheduled acti
timerfd: Fix interval callout scheduling
When a timerfd interval callout misses its scheduled activation time, a differential is calculated based on the actual activation time and the scheduled activation time. This differential is divided by the timerfd's interval time and the quotient is added to the timerfd's counter.
Before this change, the next callout was scheduled to activate at: scheduled activation time + timerfd interval.
This change fixes the scheduling of the next callout to activate at: actual activation time + timerfd interval - remainder.
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D55790 MFC after: 2 weeks
show more ...
|
| #
834c1ba7
|
| 20-Mar-2026 |
Jake Freeland <jfree@FreeBSD.org> |
timerfd: Add tests
Take Jan Kokemuller's timerfd tests from the epoll-shim project, stripping out code that isn't directly related to FreeBSD.
Reviewed by: markj Differential Revision: https://rev
timerfd: Add tests
Take Jan Kokemuller's timerfd tests from the epoll-shim project, stripping out code that isn't directly related to FreeBSD.
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D55789 MFC after: 2 weeks
show more ...
|