commit | 6f9f2c085791918c31d970b7a36a714032f5b2b1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 17 19:22:03 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 17 19:36:15 2021 +0100 |
tree | 3882eb89d7e3e3aea8210785c2b93d64250e8fe0 | |
parent | a1ecbca0a50ccb273bb5cdc9f031408d782a7bcf [diff] |
MINOR: freq_ctr/threads: relax when failing to update a sliding window value The swrate_add* functions would sping fast on a failed CAS, better place a cpu_relax() call there to reduce contention if any.