commit | b1e190a885fcbc37a8ed33355435000a193521a1 | [log] [tgz] |
---|---|---|
author | David CARLIER <devnexen@gmail.com> | Fri Nov 26 20:44:44 2021 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 01 10:38:31 2021 +0100 |
tree | d53114e72a4223df8473b2f89c2c9af04b05def4 | |
parent | bb3e80e1814f63b76f100b342c217d08ca719688 [diff] |
MEDIUM: pool: Following up on previous pool trimming update. Apple libmalloc has its own notion of memory arenas as malloc_zone with rich API having various callbacks for various allocations strategies but here we just use the defaults. In trim_all_pools, we advise to purge each zone as much as possible, called "greedy" mode.