From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062AbdCIWox (ORCPT ); Thu, 9 Mar 2017 17:44:53 -0500 Received: from mail.kernel.org ([198.145.29.136]:38238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752820AbdCIWow (ORCPT ); Thu, 9 Mar 2017 17:44:52 -0500 Message-Id: <20170309224204.066497548@goodmis.org> User-Agent: quilt/0.63-1 Date: Thu, 09 Mar 2017 17:42:04 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andy Lutomirski , Andrew Morton Subject: [PATCH 0/2] x86/nmi: Optimize address compares with better jump algorithm Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I started working on the x86-32 fentry code and I noticed that I had some old patches in my local tip/x86/core branch. Looking at them, they still seem relevant. They are from 2014 when I was working at Red Hat. I kept the author having (Red Hat) and since I forward ported them now that I work for VMware, I used (VMware) in my Signed-off-by. Both these patches are basically doing the same thing but to different parts. One is making a better test of the RIP the other is a better test of the RSP. Each patch describe what they are doing. Steven Rostedt (Red Hat) (2): x86/nmi: Optimize the check for being in the repeat_nmi code x86/nmi: Fix and optimize the NMI stack check code ---- arch/x86/entry/entry_64.S | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-)