1. 22 Jul, 2005 2 commits
    • Linus Torvalds's avatar
      x86: make restore_fpu() use alternative assembler instructions · 8ed1383f
      Linus Torvalds authored
      It's really just a single instruction, conditional on whether the CPU
      supports FXSR or not, so implement it as such instead of making it a
      function that queries FXSR dynamically.
      
      This means that the instruction just gets automatically rewritten to the
      correct one at boot-time.
      8ed1383f
    • Linus Torvalds's avatar
      Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to · b339a18b
      Linus Torvalds authored
      These days %gs is normally the TLS segment, so it's no longer zero.  As
      a result, we shouldn't just assume that %fs/%gs tend to be zero
      together, but test them independently instead.
      
      Also, fix setting of debug registers to use the "next" pointer instead
      of "current".  It so happens that the scheduler will have set the new
      current pointer before calling __switch_to(), but that's just an
      implementation detail.
      b339a18b
  2. 17 Jul, 2005 2 commits
  3. 16 Jul, 2005 12 commits
  4. 15 Jul, 2005 11 commits
  5. 14 Jul, 2005 13 commits