Thanks for the info. I submit a pull request to remove it. Ian Lance Taylor <i...@golang.org> 于2022年11月5日周六 06:01写道:
> On Thu, Nov 3, 2022 at 7:46 AM liiux...@gmail.com <liiuxue...@gmail.com> > wrote: > > > > asm_amd64.s > > > > Please explain why 104 should be subtracted from g0 stack? > > Interesting question. The number 104 appears to date back to the > first implementation of split stacks in > https://go.googlesource.com/go/+/b987f7a757f53f460973622a36eebb696f9b5060. > That change introduces a 104 byte stack guard, and I believe that that > stack guard has been carried forward over the years. I don't really > know whether it still makes any sense today. Probably it doesn't. > > Ian > -- 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/CAJhgtRNfi0v645AHcSxJ5A4sH3pr1UpPz9y%3D%3D%2BpZZw4OGs_%2BAA%40mail.gmail.com.