On Tue Nov 21 20:45:25 2023 +0000, Rémi Bernon wrote:
The reason is that there are cfi rules for it before we reach the kernel stack switch, and we need to override them again or it will fail to restore sp on unwind and crash. I think it could also perhaps be done through `.cfi_restore %rsp`.
Yes, but are the previous rules necessary? Why isn't switching the CFA sufficient?