Re: [PATCH] libgcc: allocate extra space for morestack expansion

2021-02-18 Thread Rain Mark via Gcc-patches
On Wed, Feb 10, 2021 at 06:36:07AM -0800, Ian Lance Taylor wrote: > Rain Mark writes: > > > After enabling -fsplit-stack, dynamic stack expansion of the coroutine > > is realized, but calling functions without -fsplit-stack will directly > > expand the space by 1M, which is too wasteful for a sys

Re: ***SPAM*** [PATCH] libgcc: allocate extra space for morestack expansion

2021-02-10 Thread Ian Lance Taylor
Rain Mark writes: > After enabling -fsplit-stack, dynamic stack expansion of the coroutine > is realized, but calling functions without -fsplit-stack will directly > expand the space by 1M, which is too wasteful for a system with a large > number of coroutines running under the 128K stack size. W

[PATCH] libgcc: allocate extra space for morestack expansion

2021-02-09 Thread Rain Mark via Gcc-patches
Hello. After enabling -fsplit-stack, dynamic stack expansion of the coroutine is realized, but calling functions without -fsplit-stack will directly expand the space by 1M, which is too wasteful for a system with a large number of coroutines running under the 128K stack size. We hope to give users