]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pool: Following up on previous pool trimming update.
authorDavid CARLIER <devnexen@gmail.com>
Fri, 26 Nov 2021 20:44:44 +0000 (20:44 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Dec 2021 09:38:31 +0000 (10:38 +0100)
commitb1e190a885fcbc37a8ed33355435000a193521a1
treed53114e72a4223df8473b2f89c2c9af04b05def4
parentbb3e80e1814f63b76f100b342c217d08ca719688
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.
include/haproxy/compat.h
src/pool.c