commit | b13044cc1ac04ed4239030f9e600b9301ac531be | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 11 17:02:02 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 12 14:19:05 2022 +0200 |
tree | 35e92e107cabe0fb838563f5dc21cc2c397c3d79 | |
parent | bc7c207f745bf6406b38139b98cb5b8c794e13f0 [diff] |
MINOR: plock: support disabling exponential back-off The new macro PLOCK_DISABLE_EBO may be defined to disable exponential backoff. This can be useful to more easily spot functions that cause contention. In this case the CPU will be spent inside the functions themselves instead of the pl_wait_unlock_{long,int}() functions, making them easier to spot using "perf top" even if that causes a significant degradation of the thread scalability.