MINOR: pools: split the OS-based allocator in two
authorWilly Tarreau <w@1wt.eu>
Sat, 17 Apr 2021 14:57:25 +0000 (16:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 13:24:33 +0000 (15:24 +0200)
commit13843641e5d423e9c5939f3a3ebea0446491e247
treefbc0977d8bbe7fab458d167f794159b1045fb704
parent207c0950982c1a4208995f0e0638c45ed2923bda
MINOR: pools: split the OS-based allocator in two

Now there's one part dealing with the allocation itself and keeping
counters up to date, and another one on top of it to return such an
allocated pointer to the user and update the use count and stats.

This is in anticipation for being able to group cache-related parts.
The release code is still done at once.
include/haproxy/pool.h
src/pool.c