diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-04-16 11:03:35 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-16 11:10:13 +0300 |
commit | 780e0106d468a2962b16b52fdf42898f2639e0a0 (patch) | |
tree | 8ab5b23a033073a2bb3fc233c1a053ebcec635ce /Documentation/docutils.conf | |
parent | 0082517fa4bce073e7cf542633439f26538a14cc (diff) | |
download | linux-780e0106d468a2962b16b52fdf42898f2639e0a0.tar.xz |
x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"
Revert the following commit:
515ab7c41306: ("x86/mm: Align TLB invalidation info")
I found out (the hard way) that under some .config options (notably L1_CACHE_SHIFT=7)
and compiler combinations this on-stack alignment leads to a 320 byte
stack usage, which then triggers a KASAN stack warning elsewhere.
Using 320 bytes of stack space for a 40 byte structure is ludicrous and
clearly not right.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Nadav Amit <namit@vmware.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 515ab7c41306 ("x86/mm: Align TLB invalidation info")
Link: http://lkml.kernel.org/r/20190416080335.GM7905@worktop.programming.kicks-ass.net
[ Minor changelog edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/docutils.conf')
0 files changed, 0 insertions, 0 deletions