Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354462

[PATCH v2 0/2] x86/entry: Do context tracking with IRQs off (finally!)

From Andy Lutomirski <luto@kernel.org>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] x86/entry: Do context tracking with IRQs off (finally!)
Date 2016-03-09 22:30 +0100
Message-ID <raTQ6-5hW-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] x86/entry: Do context tracking with IRQs off (finally!) Andy Lutomirski <luto@kernel.org> - 2016-03-09 22:30 +0100
  [PATCH v2 1/2] x86/entry/32: Change INT80 to be an interrupt gate Andy Lutomirski <luto@kernel.org> - 2016-03-09 22:30 +0100
    [PATCH v2 2/2] x86/entry: Do enter_from_user_mode with IRQs off Andy Lutomirski <luto@kernel.org> - 2016-03-09 22:30 +0100
      [tip:x86/asm] x86/entry: Call enter_from_user_mode() with IRQs off tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-03-10 12:10 +0100
    [tip:x86/asm] x86/entry/32: Change INT80 to be an interrupt gate tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-03-10 12:10 +0100

csiph-web