diff options
author | Andy Lutomirski | 2015-04-02 12:41:45 -0700 |
---|---|---|
committer | Ingo Molnar | 2015-04-03 08:30:44 +0200 |
commit | cf9328cc9989e028fdc64d8c0a7b1b043dc96735 (patch) | |
tree | 9e84c35b8509621f893621a20484d3ba20ae8b15 /fs | |
parent | ff8287f36381deff729aa4e7b02296a080519fd0 (diff) |
x86/asm/entry/32: Stop caching MSR_IA32_SYSENTER_ESP in tss.sp1
We write a stack pointer to MSR_IA32_SYSENTER_ESP exactly once,
and we unnecessarily cache the value in tss.sp1. We never
read the cached value.
Remove all of the caching. It serves no purpose.
Suggested-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/05a0163eb33ef5208363f0015496855da7cebadd.1428002830.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions