commit | de749a93337588b2211bf9465c948be95d0bda75 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Mar 22 20:54:15 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 22 20:54:15 2021 +0100 |
tree | a7cfb02f101cff568ffb84fb6af87e7c908c58b3 | |
parent | a213b683f71a7491280cd677e656e3f05e5fe5b7 [diff] |
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).