Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbcCGCaT (ORCPT ); Sun, 6 Mar 2016 21:30:19 -0500 Received: from mail.kernel.org ([198.145.29.136]:48313 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751394AbcCGCaN (ORCPT ); Sun, 6 Mar 2016 21:30:13 -0500 From: Andy Lutomirski To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Borislav Petkov , Brian Gerst , =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Weisbecker?= , Andy Lutomirski Subject: [PATCH 0/2] x86/entry: Do context tracking with IRQs off (finally!) Date: Sun, 6 Mar 2016 18:30:05 -0800 Message-Id: X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 22 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. 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 | 54 ++++++++++++-------------------------- 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, 27 insertions(+), 44 deletions(-) -- 2.5.0