• Linus Torvalds's avatar
    Merge tag 'timers-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6e01f86f
    Linus Torvalds authored
    Pull timer and timekeeping updates from Thomas Gleixner:
    
     - Expose CLOCK_TAI to instrumentation to aid with TSN debugging.
    
     - Ensure that the clockevent is stopped when there is no timer armed to
       avoid pointless wakeups.
    
     - Make the sched clock frequency handling and rounding consistent.
    
     - Provide a better debugobject hint for delayed works. The timer
       callback is always the same, which makes it difficult to identify the
       underlying work. Use the work function as a hint instead.
    
     - Move the timer specific sysctl code into the timer subsystem.
    
     - The usual set of improvements and cleanups
    
    * tag 'timers-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      timers: Provide a better debugobjects hint for delayed works
      time/sched_clock: Fix formatting of frequency reporting code
      time/sched_clock: Use Hz as the unit for clock rate reporting below 4kHz
      time/sched_clock: Round the frequency reported to nearest rather than down
      timekeeping: Consolidate fast timekeeper
      timekeeping: Annotate ktime_get_boot_fast_ns() with data_race()
      timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
      timekeeping: Introduce fast accessor to clock tai
      tracing/timer: Add missing argument documentation of trace points
      clocksource: Replace cpumask_weight() with cpumask_empty()
      timers: Move timer sysctl into the timer code
      clockevents: Use dedicated list iterator variable
      timers: Simplify calc_index()
      timers: Initialize base::next_expiry_recalc in timers_prepare_cpu()
    6e01f86f
tick-sched.c 39.6 KB