Revision 322f8b8b340c824aef891342b0f5795d15e11562 authored by Thomas Gleixner on 30 December 2017, 21:13:53 UTC, committed by Ingo Molnar on 31 December 2017, 11:12:51 UTC
smpboot_setup_warm_reset_vector() and smpboot_restore_warm_reset_vector()
invoke local_flush_tlb() for no obvious reason.

Digging in history revealed that the original code in the 2.1 era added
those because the code manipulated a swapper_pg_dir pagetable entry. The
pagetable manipulation was removed long ago in the 2.3 timeframe, but the
TLB flush invocations stayed around forever.

Remove them along with the pointless pr_debug()s which come from the same 2.1
change.

Reported-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@vger.kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linuxfoundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171230211829.586548655@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 9f5cb6b
History
File Mode Size
.gitignore -rw-r--r-- 12 bytes
Kconfig -rw-r--r-- 2.2 KB
Makefile -rw-r--r-- 1.5 KB
asymmetric_keys.h -rw-r--r-- 657 bytes
asymmetric_type.c -rw-r--r-- 15.1 KB
mscode.asn1 -rw-r--r-- 840 bytes
mscode_parser.c -rw-r--r-- 2.9 KB
pkcs7.asn1 -rw-r--r-- 3.8 KB
pkcs7_key_type.c -rw-r--r-- 2.4 KB
pkcs7_parser.c -rw-r--r-- 16.3 KB
pkcs7_parser.h -rw-r--r-- 2.3 KB
pkcs7_trust.c -rw-r--r-- 4.7 KB
pkcs7_verify.c -rw-r--r-- 12.8 KB
public_key.c -rw-r--r-- 4.7 KB
restrict.c -rw-r--r-- 7.8 KB
signature.c -rw-r--r-- 1.7 KB
verify_pefile.c -rw-r--r-- 11.4 KB
verify_pefile.h -rw-r--r-- 1.2 KB
x509.asn1 -rw-r--r-- 1.6 KB
x509_akid.asn1 -rw-r--r-- 1.0 KB
x509_cert_parser.c -rw-r--r-- 15.8 KB
x509_parser.h -rw-r--r-- 2.3 KB
x509_public_key.c -rw-r--r-- 6.5 KB

back to top