Skip to content

timers: Fix get_next_timer_interrupt() proper

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4timers: Create detach_if_pending() and use itkernel/timer.c+23 -331 reply
2/4timers: Consolidate base->next_timer updatekernel/timer.c+15 -114 replies
3/4timers: Add accounting of non deferrable timerskernel/timer.c+23 -81 reply
4/4timers: Improve get_next_timer_interrupt()kernel/timer.c+8 -51 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/4] timers: Fix get_next_timer_interrupt() proper

This series was inspired by the patch Gilad sent to fix a shortcoming in get_next_timer_interrupt().

Instead of working around the problem I think it's better to avoid it completely.

The fix is on top of a consolidation of the mindlessly copied code in various timer API functions. Even with the added functionality that makes the obj code footprint shrink

  text	   data	    bss	    dec	    hex	filename
  18589	   3682	   8257	  30528	   7740	../build/kernel/timer.o
  17997	   3682	   8257	  29936	   74f0	../build/kernel/timer.o

Thanks,

tglx
----

 timer.c |  110 +++++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 61 insertions(+), 49 deletions(-)