]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks: do not maintain the rqueue_size counter anymore
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Feb 2021 15:13:03 +0000 (16:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Feb 2021 16:42:04 +0000 (17:42 +0100)
commit2c41d77ebc8c47374784d00e7026b484fbb56389
tree3bf39e483eca4cc0fb3a3cc1fabb0275de13d09d
parent9c7b8085f4cad284642e7f67d2274f2fb568f243
MINOR: tasks: do not maintain the rqueue_size counter anymore

This one is exclusively used as a boolean nowadays and is non-zero only
when the thread-local run queue is not empty. Better check the root tree's
pointer and avoid updating this counter all the time.
include/haproxy/task-t.h
include/haproxy/task.h
src/task.c