diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-09-15 16:19:46 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-09-21 13:57:43 +0200 |
commit | 7fae4c24a2b84a66c7be399727aca11e7a888462 (patch) | |
tree | e9d09d78f3c3ce5598617ce05d4420fe08c55398 /mm/memfd.c | |
parent | x86/mm/64: Improve stack overflow warnings (diff) | |
download | linux-7fae4c24a2b84a66c7be399727aca11e7a888462.tar.xz linux-7fae4c24a2b84a66c7be399727aca11e7a888462.zip |
x86: Increase exception stack sizes
It turns out that a single page of stack is trivial to overflow with
all the tracing gunk enabled. Raise the exception stacks to 2 pages,
which is still half the interrupt stacks, which are at 4 pages.
Reported-by: Michael Wang <yun.wang@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/YUIO9Ye98S5Eb68w@hirez.programming.kicks-ass.net
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions