[PATCH 0/2] x86/nmi: Optimize address compares with better jump algorithm

From: Steven Rostedt
Date: Thu Mar 09 2017 - 17:45:18 EST



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(-)