diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-31 01:51:48 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-29 11:16:09 +0800 |
commit | e9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1 (patch) | |
tree | bf3c4e21ad0dedc6b0678b666dae8d780e55a652 /src/exec.h | |
parent | eval: Always set localvar_stop (diff) | |
download | dash-e9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1.tar.gz dash-e9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1.zip |
memalloc: Avoid looping in growstackto
Currently growstackto will repeatedly call growstackblock until the requisite size is obtained. This is wasteful. This patch changes growstackblock to take a minimum size instead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/exec.h')
0 files changed, 0 insertions, 0 deletions