commit | 49bb5d4268adaea64490ee20f4d73d94afe6a903 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 09 16:33:22 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 14 20:10:43 2022 +0100 |
tree | 77346ad1101ac181ee4b57fb9083bad029df43c7 | |
parent | e2830addda9baf42c682d7c1856a53e2875deea4 [diff] |
DEBUG: pools: let's add reverse mapping from cache heads to thread and pool During global eviction we're visiting nodes from the LRU tail and we determine their pool cache head and their pool. In order to make sure we never mess up, let's add some backwards pointer to the thread number and pool from the pool_cache_head. It's 64-byte aligned anyway so we're not wasting space and it helps for debugging and will prevent memory corruption the earliest possible.