All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86/entry: Do context tracking with IRQs off (finally!)
@ 2016-03-09 21:24 Andy Lutomirski
  2016-03-09 21:24 ` [PATCH v2 1/2] x86/entry/32: Change INT80 to be an interrupt gate Andy Lutomirski
  2016-03-09 21:24 ` [PATCH v2 2/2] x86/entry: Do enter_from_user_mode with IRQs off Andy Lutomirski
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Lutomirski @ 2016-03-09 21:24 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, Borislav Petkov, Brian Gerst,
	Frédéric Weisbecker, Andy Lutomirski

This provides no direct benefit by itself, but it finally lets us
apply some of the speedups that Paolo and possible Rik independently
wrote: we won't need an irqsave/irqrestore pair in the context
tracking code.

It should also let us remove the last callers of exception_enter in
x86 kernels, but that removal should probably wait until I carefully
re-read the page fault code.

Changes from v1:
 - Fix a comment
 - Make the ifdeffery less messy

Andy Lutomirski (2):
  x86/entry/32: Change INT80 to be an interrupt gate
  x86/entry: Do enter_from_user_mode with IRQs off

 arch/x86/entry/common.c            | 48 +++++++++++---------------------------
 arch/x86/entry/entry_32.S          |  8 +++----
 arch/x86/entry/entry_64_compat.S   |  2 +-
 arch/x86/include/asm/thread_info.h |  5 +++-
 arch/x86/kernel/traps.c            |  2 +-
 5 files changed, 24 insertions(+), 41 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2016-03-10 11:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09 21:24 [PATCH v2 0/2] x86/entry: Do context tracking with IRQs off (finally!) Andy Lutomirski
2016-03-09 21:24 ` [PATCH v2 1/2] x86/entry/32: Change INT80 to be an interrupt gate Andy Lutomirski
2016-03-10 11:06   ` [tip:x86/asm] " tip-bot for Andy Lutomirski
2016-03-09 21:24 ` [PATCH v2 2/2] x86/entry: Do enter_from_user_mode with IRQs off Andy Lutomirski
2016-03-10 11:07   ` [tip:x86/asm] x86/entry: Call enter_from_user_mode() " tip-bot for Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.