commit | da2e46dff6576c29fa1d379c943bb7943aa6e7ce | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Fri Feb 21 15:25:37 2020 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Feb 21 15:25:37 2020 +0100 |
tree | 3c0d5871276db4d1e1bc3061e8de0529d39fa5f0 | |
parent | 3ced804e3118d138781c3e4baa6bf1589b9f2dfd [diff] |
ash: memalloc: Avoid looping in growstackto Upstream commit: Date: Thu, 31 May 2018 01:51:48 +0800 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> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>