Re: [PATCH v6 06/33] riscv/Kconfig: enable HAVE_EXIT_THREAD for riscv

2024-10-29 Thread Deepak Gupta
On Wed, Oct 09, 2024 at 12:28:03PM +0100, Mark Brown wrote: On Tue, Oct 08, 2024 at 03:36:48PM -0700, Deepak Gupta wrote: riscv will need an implementation for exit_thread to clean up shadow stack when thread exits. If current thread had shadow stack enabled, shadow stack is allocated by defaul

Re: [PATCH v6 06/33] riscv/Kconfig: enable HAVE_EXIT_THREAD for riscv

2024-10-09 Thread Mark Brown
On Tue, Oct 08, 2024 at 03:36:48PM -0700, Deepak Gupta wrote: > riscv will need an implementation for exit_thread to clean up shadow stack > when thread exits. If current thread had shadow stack enabled, shadow > stack is allocated by default for any new thread. FWIW both arm64 and x86 do this vi