I'm not sure it is necessary. The intent is to make sure we don't access 
off the top of the stack. sys.MinFrameSize should really handle that, I 
think. My guess is that the 4*sys.PtrSize was from before we had the 
MinFrameSize concept defined.

On Monday, July 12, 2021 at 12:32:09 AM UTC-7 peng.g...@gmail.com wrote:

> In the code 
> https://github.com/golang/go/blob/master/src/runtime/proc.go#L4317, there 
> is a 4*PtrSize extra space. What is the purpose?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5fd47243-0dd0-4977-a013-22be812d99ebn%40googlegroups.com.

Reply via email to