3 ms·
Yes, that will happen if you have a multiple page long stack frame. In practice that doesn't happen very often, and the compiler can only insert the probe it ne
by chc4 6y ago
Yes, that will happen if you have a multiple page long stack frame. In practice that doesn't happen very often, and the compiler can only insert the probe it needs since the stack frame size is known statically without dynamic `alloca`.
Go had a horrible, horrible bug due to an interaction with something related to this (stack clash mitigation), signal stacks, and the kernel vDSO shared object. https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/ https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/