commit | 9f699958dc668a2a9c505ffa6b6366acaad4c234 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 18 18:31:53 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 21 20:44:26 2022 +0100 |
tree | 372f8812de85311f318a1cef0524ed544f76ea95 | |
parent | 43235676507c9cb651e5d3b8bcd757858c37e1b6 [diff] |
MINOR: pools: mark most static pool configuration variables as read-mostly The mem_poison_byte, mem_fail_rate, using_default_allocator and the pools list are all only set once at boot time and never changed later, while they're heavily used at run time. Let's optimize their usage from all threads by marking them read-mostly so that them reside in a shared cache line.