commit | e8e5091510f667feeb36f68b8d2f4d9e8cf00dc0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Feb 20 11:38:56 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Feb 20 12:38:18 2021 +0100 |
tree | 75e8a4acee526975e7ea133d1225a86ada9253ec | |
parent | 28d7876a0cb0f2e8fa46c216937d361b0d7bcfbc [diff] |
MINOR: dynbuf: make the buffer wait queue per thread The buffer wait queue used to be global historically but this doest not make any sense anymore given that the most common use case is to have thread-local pools. Thus there's no point waking up waiters of other threads after releasing an entry, as they won't benefit from it. Let's move the queue head to the thread_info structure and use ti->buffer_wq from now on.