haproxy/include
Willy Tarreau 186e96ece0 MEDIUM: buffers: relax the buffer lock a little bit
In lock profiles it's visible that there is a huge contention on the
buffer lock. The reason is that when offer_buffers() is called, it
systematically takes the lock before verifying if there is any
waiter. However doing so doesn't protect against races since a
waiter can happen just after we release the lock as well. Similarly
in h2 we take the lock every time an h2c is going to be released,
even without checking that the h2c belongs to a wait list. These
two have now been addressed by verifying non-emptiness of the list
prior to taking the lock.
2019-05-28 17:25:21 +02:00
..
common MEDIUM: buffers: relax the buffer lock a little bit 2019-05-28 17:25:21 +02:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: channel/htx: Add functions to forward a part or all HTX payload 2019-05-28 07:42:33 +02:00
types MINOR: activity: report the number of failed pool/buffer allocations 2019-05-28 17:25:21 +02:00