]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: make the pool allocator support a few flags
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 19:54:15 +0000 (20:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 19:54:15 +0000 (20:54 +0100)
commitde749a93337588b2211bf9465c948be95d0bda75
treea7cfb02f101cff568ffb84fb6af87e7c908c58b3
parenta213b683f71a7491280cd677e656e3f05e5fe5b7
MINOR: pools: make the pool allocator support a few flags

The pool_alloc_dirty() function was renamed to __pool_alloc() and now
takes a set of flags indicating whether poisonning is permitted or not
and whether zeroing the area is needed or not. The pool_alloc() function
is now just a wrapper calling __pool_alloc(pool, 0).
include/haproxy/dynbuf.h
include/haproxy/pool-t.h
include/haproxy/pool.h