]> git.ipfire.org Git - thirdparty/haproxy.git/commit
IMPORT: lorw: support inlining the wait call
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Aug 2023 20:40:05 +0000 (22:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Aug 2023 22:09:05 +0000 (00:09 +0200)
commite56275378fa0d303a58dac69b2c75a5d6ab04f2b
tree9adc2e7a96038916102e8272af63b3c947b66db7
parent66dcc0550eef8401e44078fbf01f8a2cb5960b90
IMPORT: lorw: support inlining the wait call

Now when PLOCK_LORW_INLINE_WAIT is defined, the pl_wait_unlock_long()
calls in pl_lorw_rdlock() and pl_lorw_wrlock() will be inlined so that
all the CPU time is accounted for in the calling function.

This is plock upstream commit c993f81d581732a6eb8fe3033f21970420d21e5e.
include/import/plock.h