public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Remove interrupt stack table usage from x86_64 kernel (v2)
@ 2008-12-26 14:22 Avi Kivity
  2008-12-26 14:22 ` [PATCH 1/4] x86: drop the use of the tss interrupt stack table (IST) Avi Kivity
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Avi Kivity @ 2008-12-26 14:22 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin; +Cc: jeremy, linux-kernel, kvm

The interrupt stack table (IST) mechanism is the only thing preventing
kvm from deferring saving and reloading of some significant state.  It
is also somewhat complicated.

Remove it by switching the special exceptions to use the normal irqstack.

Changes from v1:
- rebase on tip/master
- as a step, consolidate stack switching into a single macro

Jeremy, Xen is also affected; please review.

Avi Kivity (4):
  x86: drop the use of the tss interrupt stack table (IST)
  x86: Consolidate irq stack switching to a single macro
  x86: Make interrupt stack switching atomic
  x86: Move NMI back to interrupt stack

 arch/x86/include/asm/desc.h      |   12 -----
 arch/x86/include/asm/page_64.h   |    7 ---
 arch/x86/include/asm/pda.h       |    2 +-
 arch/x86/include/asm/processor.h |   11 ----
 arch/x86/kernel/asm-offsets_64.c |    1 -
 arch/x86/kernel/cpu/common.c     |   35 --------------
 arch/x86/kernel/dumpstack_64.c   |   96 --------------------------------------
 arch/x86/kernel/entry_64.S       |   89 ++++++++++-------------------------
 arch/x86/kernel/traps.c          |   12 ++--
 9 files changed, 33 insertions(+), 232 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-12-27 21:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 14:22 [PATCH 0/4] Remove interrupt stack table usage from x86_64 kernel (v2) Avi Kivity
2008-12-26 14:22 ` [PATCH 1/4] x86: drop the use of the tss interrupt stack table (IST) Avi Kivity
2008-12-26 14:22 ` [PATCH 2/4] x86: Consolidate irq stack switching to a single macro Avi Kivity
2008-12-26 14:22 ` [PATCH 3/4] x86: Make interrupt stack switching atomic Avi Kivity
2008-12-26 14:22 ` [PATCH 4/4] x86: Move NMI back to interrupt stack Avi Kivity
2008-12-26 14:35 ` [PATCH 0/4] Remove interrupt stack table usage from x86_64 kernel (v2) Ingo Molnar
2008-12-26 14:38   ` Ingo Molnar
2008-12-27 21:42     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox