commit | 4a2d6bd44c003fae33a87218e5c002f890017bc3 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sat Feb 01 17:45:32 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 04 13:43:44 2020 +0100 |
tree | 9f6a7c00aab5e2736ddea74ac0c82c8d87533c7e | |
parent | 21861597b4ba8c12d42ceac91c35f80584317784 [diff] |
MINOR: memory: Only init the pool spinlock once. In pool_create(), only initialize the pool spinlock if we just created the pool, in the event we're reusing it, there's no need to initialize it again. (cherry picked from commit 8af97eb4a19c1d3c0849b5e5e5d350d63f819032) Signed-off-by: Willy Tarreau <w@1wt.eu> (cherry picked from commit 3c5e337c74a07ca2db2ac0997ee4d89c7969c80b) Signed-off-by: Willy Tarreau <w@1wt.eu>