]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: use trim_all_pools() instead of a conditional malloc_trim()
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 14:38:13 +0000 (15:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 16:30:28 +0000 (17:30 +0100)
commit9b060f148ea324de1e7e2686348e4c90d7c67394
tree3301109600ed234bb4de23eda78aaf4ebeacd7b3
parent7aee683541829b8cd6d93d05e50d2d356389b123
MINOR: pattern: use trim_all_pools() instead of a conditional malloc_trim()

First this will ensure that we serialize the threads and avoid severe
contention. Second it removes ugly ifdefs and conditions.
src/pattern.c