1. 08 12月, 2007 1 次提交
    • T
      hrtimers: avoid overflow for large relative timeouts · 62f0f61e
      Thomas Gleixner 提交于
      Relative hrtimers with a large timeout value might end up as negative
      timer values, when the current time is added in hrtimer_start().
      
      This in turn is causing the clockevents_set_next() function to set an
      huge timeout and sleep for quite a long time when we have a clock
      source which is capable of long sleeps like HPET. With PIT this almost
      goes unnoticed as the maximum delta is ~27ms. The non-hrt/nohz code
      sorts this out in the next timer interrupt, so we never noticed that
      problem which has been there since the first day of hrtimers.
      
      This bug became more apparent in 2.6.24 which activates HPET on more
      hardware.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      62f0f61e
  2. 07 12月, 2007 20 次提交
  3. 06 12月, 2007 19 次提交