Skip to content

Commit

Permalink
arm64: Increase kernel stack size to 32K
Browse files Browse the repository at this point in the history
To work around stack overflow with the drm/asahi driver plus zram
swap-out, TBD if we can refactor things enough to bring it under 16K
again...

Signed-off-by: Asahi Lina <[email protected]>
  • Loading branch information
asahilina authored and jannau committed May 26, 2024
1 parent a72c7e5 commit 752b1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/include/asm/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#define PAGE_END (_PAGE_END(VA_BITS_MIN))
#endif /* CONFIG_KASAN */

#define MIN_THREAD_SHIFT (14 + KASAN_THREAD_SHIFT)
#define MIN_THREAD_SHIFT (15 + KASAN_THREAD_SHIFT)

/*
* VMAP'd stacks are allocated at page granularity, so we must ensure that such
Expand Down

0 comments on commit 752b1ed

Please sign in to comment.