Skip to content

Turn hrtimers into a range capable timer

Arjan van de Ven lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13hrtimer: add abstraction functions for accessing the "expires" memberinclude/linux/hrtimer.h+45 -00 replies
2/13hrtimer: convert kvm to the new hrtimer apisarch/x86/kvm/i8254.c arch/x86/kvm/lapic.c+5 -70 replies
3/13hrtimer: convert timerfd to the new hrtimer apisfs/timerfd.c+3 -50 replies
4/13hrtimer: convert net::sched_cbq to the new hrtimer apisnet/sched/sch_cbq.c+4 -30 replies
5/13hrtimer: convert kernel/* to the new hrtimer apiskernel/futex.c kernel/hrtimer.c kernel/posix-timers.c +5 more+47 -520 replies
6/13hrtimer: convert powerpc/oprofile to the new hrtimer apisarch/powerpc/oprofile/cell/spu_profiler.c+1 -10 replies
7/13hrtimer: convert kvm-ia64 to the new hrtimer apisarch/ia64/kvm/kvm-ia64.c+1 -10 replies
8/13hrtimer: convert s390 to the new hrtimer apisdrivers/s390/crypto/ap_bus.c+3 -30 replies
9/13hrtimer: convert sound/ to the new hrtimer apissound/drivers/pcsp/pcsp_lib.c+3 -20 replies
10/13hrtimer: rename the "expires" struct member to avoid accidental usageinclude/linux/hrtimer.h+10 -100 replies
10/13hrtimer: rename the "expires" struct member to avoid accidental usageinclude/linux/hrtimer.h+10 -100 replies
11/13hrtimer: turn hrtimers into range timersinclude/linux/hrtimer.h kernel/hrtimer.c+69 -57 replies
12/13hrtimer: create a "timer_slack" field in the task structinclude/linux/init_task.h include/linux/prctl.h include/linux/sched.h +2 more+26 -016 replies
13/13hrtimer: make select() and poll() use the hrtimer range featurefs/select.c+66 -22 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/13] Turn hrtimers into a range capable timer

This series is a follow-on the the nanosecond select/poll series.

The goal of this series is to introduce the capability into hrtimers to deal with a "range" rather than a specific point in time. (Several people discussed this recently, but we've been toying with the concept for a while)

In addition, in the last patch of the series, the patches make select() and poll() use these range timers with a standard "slack" that comes from
1) a per process task_struct value
2) a "the longer the sleep the more the slack" function that Linus wrote