]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: pools: group list updates in pool_get_from_cache()
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Jan 2022 18:34:19 +0000 (19:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Jan 2022 18:34:19 +0000 (19:34 +0100)
commit594775d17c6854b7d9dda23e37474ae6172e0fa2
tree827810833ddacd475dcfa251df314829f18f1399
parentafe2c4a1fc1c777e645944f69a4de63e9e156f38
CLEANUP: pools: group list updates in pool_get_from_cache()

Some changes affect the list element and others affect the pool stats.
Better group them together, as the compiler may not detect certain
possible optimizations after the casts made by the list macros.
include/haproxy/pool.h