From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
aarch64: increase exception stack size to 64K On aarch64 the syscalls are handled on the exception stack. And some of the syscalls involving vfs may end up consuming more then 16K of stack. A good example of it is a namei() function that needs a minimum of 8K of stack. The tst-symlink test involves syscalls that need more than 32K. In order to prevent corruption of thread structures we need to increase the exception stack size to 64K which is the same as the x64 syscall stack size. Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/arch/aarch64/arch-cpu.hh b/arch/aarch64/arch-cpu.hh --- a/arch/aarch64/arch-cpu.hh +++ b/arch/aarch64/arch-cpu.hh @@ -33,7 +33,7 @@ struct arch_cpu { }; struct arch_thread { - char exception_stack[4096*4] __attribute__((aligned(16))); + char exception_stack[4096*16] __attribute__((aligned(16))); }; struct arch_fpu { -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/0000000000009f5f97060d269cb1%40google.com.
