Skip to content

kselftests: set-timer-lat: test one-shot timers

Greg Hackmann lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kselftests: set-timer-lat: tweak reporting when timer fires earlytools/testing/selftests/timers/set-timer-lat.c+25 -80 replies
2/2kselftests: set-timer-lat: add one-shot timer test casestools/testing/selftests/timers/set-timer-lat.c+73 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] kselftests: set-timer-lat: test one-shot timers

This patchset expands set-timer-lat to cover one-shot timers. This is inspired by a recent regression in the -stable tree, which caused one-shot alarm timers to repeat at a 1 ns interval.

The first patch adjusts how early-firing timers are reported, so faulty kernels won't cause the test to spam the console with failure messages. The second patch actually adds the one-shot testcases.

Greg Hackmann (2):
kselftests: set-timer-lat: tweak reporting when timer fires early
kselftests: set-timer-lat: add one-shot timer test cases

 tools/testing/selftests/timers/set-timer-lat.c | 103 +++++++++++++++++++++----
 1 file changed, 90 insertions(+), 13 deletions(-)
Signature · 1 line
2.14.0.rc0.400.g1c36432dff-goog