Skip to content

RFC RFC: using hrtimers for in-kernel timeouts

Arnd Bergmann lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3introduce schedule_timeout_hrinclude/linux/sched.h kernel/hrtimer.c+50 -00 replies
2/3use hrtimer in select and pselectfs/select.c include/linux/poll.h+24 -400 replies
3/3change schedule_timeout to use hrtimerskernel/hrtimer.c kernel/timer.c+90 -970 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] RFC: using hrtimers for in-kernel timeouts

I've played around with the new timer statistics to see which timers might benefit of being moved from traditional timers to hrtimers.

Since my understanding is that timer_list timers are not really meant to expire, this seems to include a lot of what comes in through schedule_timeout, in particular select() and futex wait.

I have no idea if what I was attempting is even the right approach to start with, but I want to share the patches in case it is ;-).

Maybe someone is interested in running some low-level benchmarks on this or point out any bugs in the code.

	Arnd <><

--