1. 23 7月, 2005 1 次提交
    • L
      Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to · b339a18b
      Linus Torvalds 提交于
      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 7月, 2005 5 次提交
  3. 16 7月, 2005 19 次提交
  4. 15 7月, 2005 14 次提交
  5. 14 7月, 2005 1 次提交