]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pool: refactor malloc_trim/glibc and jemalloc api addition detections.
authorDavid Carlier <devnexen@gmail.com>
Thu, 25 Nov 2021 16:09:45 +0000 (16:09 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Nov 2021 17:54:50 +0000 (18:54 +0100)
commited232148a7dbffbc279cb8efde3fd32c3fa94847
treee3817f0eb905bb32cbc4db719b588d37af2e52c6
parent5bae85d0d2727566d0c6997eb80354ec5e7d720c
MEDIUM: pool: refactor malloc_trim/glibc and jemalloc api addition detections.

Attempt to detect jemalloc at runtime before hand whether linked or via
symbols overrides, and fall back to malloc_trim/glibc for Linux otherwise.
src/pool.c