1. 12 11月, 2008 1 次提交
    • H
      x86: 64 bits: shrink and align IRQ stubs · 939b7871
      H. Peter Anvin 提交于
      Move the IRQ stub generation to assembly to simplify it and for
      consistency with 32 bits.  Doing it in a C file with asm() statements
      doesn't help clarity, and it prevents some optimizations.
      
      Shrink the IRQ stubs down to just over four bytes per (we fit seven
      into a 32-byte chunk.)  This shrinks the total icache consumption of
      the IRQ stubs down to an even kilobyte, if all of them are in active
      use.
      
      The downside is that we end up with a double jump, which could have a
      negative effect on some pipelines.  The double jump is always inside
      the same cacheline on any modern chips.
      
      To get the most effect, cache-align the IRQ stubs.
      
      This makes the 64-bit code match changes already done to the 32-bit
      code, and should open up irqinit*.c for unification.
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      939b7871
  2. 16 10月, 2008 5 次提交
  3. 13 10月, 2008 3 次提交
  4. 25 7月, 2008 1 次提交
    • L
      x86-64: make BUILD_IRQ() also reset section back · 6209ed9d
      Linus Torvalds 提交于
      Commit 9d25d4db ("x86: BUILD_IRQ say
      .text to avoid .data.percpu") added a ".text" specifier to make sure
      that BUILD_IRQ() builds the irq trampoline in the text segment rather
      than in some random left-over segment that the compiler happened to
      leave the asm in.
      
      However, we should also make sure that we switch back by adding a
      ".previous" at the end, so that there are no subtle issues with
      subsequent compiler-generated code.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6209ed9d
  5. 24 7月, 2008 1 次提交
    • H
      x86: BUILD_IRQ say .text to avoid .data.percpu · 9d25d4db
      Hugh Dickins 提交于
      When I edit the x86_64 Makefile to -fno-unit-at-a-time, bootup panics
      on 0xCCs in IRQ0x3e_interrupt(): IRQ0x20_interrupt etc. have got linked
      into .data.percpu.  Perhaps there are other ways of triggering that:
      specify ".text" in the BUILD_IRQ() macro for safety.
      
      I've been using -fno-unit-at-a-time (to lessen inlining, for easier
      debugging) for a long time.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Cc: Mike Travis <travis@sgi.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9d25d4db
  6. 24 5月, 2008 5 次提交
  7. 13 5月, 2008 2 次提交
  8. 30 1月, 2008 4 次提交
  9. 25 1月, 2008 1 次提交
  10. 18 10月, 2007 1 次提交
  11. 13 10月, 2007 1 次提交
  12. 11 10月, 2007 2 次提交
  13. 22 7月, 2007 1 次提交
  14. 09 5月, 2007 1 次提交
  15. 29 3月, 2007 1 次提交
  16. 27 2月, 2007 3 次提交
  17. 17 2月, 2007 1 次提交
  18. 07 12月, 2006 1 次提交
  19. 17 10月, 2006 1 次提交
  20. 04 10月, 2006 3 次提交
  21. 26 9月, 2006 1 次提交