1. 23 5月, 2008 2 次提交
    • T
      x86: distangle user disabled TSC from unstable · 9ccc906c
      Thomas Gleixner 提交于
      tsc_enabled is set to 0 from the command line switch "notsc" and from
      the mark_tsc_unstable code. Seperate those functionalities and replace
      tsc_enable with tsc_disable. This makes also the native_sched_clock()
      decision when to use TSC understandable.
      
      Preparatory patch to solve the sched_clock() issue on 32 bit.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      9ccc906c
    • T
      x86: fix setup of cyc2ns in tsc_64.c · b6db80ee
      Thomas Gleixner 提交于
      When the TSC is calibrated against the PIT due to the nonavailability
      of PMTIMER/HPET or due to SMI interference then the setup of the per
      CPU cyc2ns variables is skipped. This is unlikely to happen but it
      would definitely render sched_clock() unusable.
      
      This was introduced with commit 53d517cd
      
          x86: scale cyc_2_nsec according to CPU frequency
      
      Update the per CPU cyc2ns variables in all exit pathes of tsc_calibrate.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: stable@kernel.org
      b6db80ee
  2. 22 5月, 2008 34 次提交
  3. 21 5月, 2008 4 次提交