1. 23 10月, 2007 2 次提交
  2. 29 7月, 2007 1 次提交
    • R
      Provide timespec to guests rather than jiffies clock. · 6c8dca5d
      Rusty Russell 提交于
      A non-periodic clock_event_device and the "jiffies" clock don't mix well:
      tick_handle_periodic() can go into an infinite loop.
      
      Currently lguest guests use the jiffies clock when the TSC is
      unusable.  Instead, make the Host write the current time into the lguest
      page on every interrupt.  This doesn't cost much but is more precise
      and at least as accurate as the jiffies clock.  It also gets rid of
      the GET_WALLCLOCK hypercall.
      
      Also, delay setting sched_clock until our clock is set up, otherwise
      the early printk timestamps can go backwards (not harmful, just ugly).
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6c8dca5d
  3. 27 7月, 2007 2 次提交
  4. 20 7月, 2007 1 次提交