]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: move profiling bit to per-thread
authorWilly Tarreau <w@1wt.eu>
Mon, 13 Jun 2022 13:59:39 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jun 2022 08:38:03 +0000 (10:38 +0200)
commit680ed5f28b1df818078ddca2211beac6aaea48a0
tree1124bab8dde914668579d58da562a2cfe9a9ac4c
parent040955fb39f8df183adda6fa19761a1ede36f624
MINOR: task: move profiling bit to per-thread

Instead of having a global mask of all the profiled threads, let's have
one flag per thread in each thread's flags. They are never accessed more
than one at a time an are better located inside the threads' contexts for
both performance and scalability.
doc/design-thoughts/thread-group.txt
include/haproxy/activity.h
include/haproxy/task.h
include/haproxy/tinfo-t.h
src/activity.c
src/debug.c
src/task.c