• Linus Torvalds's avatar
    Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0ba97bc4
    Linus Torvalds authored
    Pull timer updates from Ingo Molnar:
     "The main changes in this cycle were:
    
       - rework hrtimer expiry calculation in hrtimer_interrupt(): the
         previous code had a subtle bug where expiry caching would miss an
         expiry, resulting in occasional bogus (late) expiry of hrtimers.
    
       - continuing Y2038 fixes
    
       - ktime division optimization
    
       - misc smaller fixes and cleanups"
    
    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      hrtimer: Make __hrtimer_get_next_event() static
      rtc: Convert rtc_set_ntp_time() to use timespec64
      rtc: Remove redundant rtc_valid_tm() from rtc_hctosys()
      rtc: Modify rtc_hctosys() to address y2038 issues
      rtc: Update rtc-dev to use y2038-safe time interfaces
      rtc: Update interface.c to use y2038-safe time interfaces
      time: Expose get_monotonic_boottime64 for in-kernel use
      time: Expose getboottime64 for in-kernel uses
      ktime: Optimize ktime_divns for constant divisors
      hrtimer: Prevent stale expiry time in hrtimer_interrupt()
      ktime.h: Introduce ktime_ms_delta
    0ba97bc4
hrtimer.c 47 KB