]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: thread/sched: move the last dynamic thread_info to thread_ctx
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Sep 2021 17:02:18 +0000 (19:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commitb4e34766a38a1ea1fb80164b3abe3a68d2e8efeb
treeada66df93ac895c85fe113776459cc1b1c2db4c6
parenta0b99536c83e41b8419b1f8d7e14521a6020a92c
REORG: thread/sched: move the last dynamic thread_info to thread_ctx

The last 3 fields were 3 list heads that are per-thread, and which are:
  - the pool's LRU head
  - the buffer_wq
  - the streams list head

Moving them into thread_ctx completes the removal of dynamic elements
from the struct thread_info. Now all these dynamic elements are packed
together at a single place for a thread.
14 files changed:
include/haproxy/channel.h
include/haproxy/dynbuf.h
include/haproxy/tinfo-t.h
src/check.c
src/dynbuf.c
src/flt_spoe.c
src/h3.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_quic.c
src/pool.c
src/proxy.c
src/stream.c