mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
MINOR: server: move idle_conn_task to read_mostly
This pointer is used when adding connections to the idle list and is never changed, let's move it to the read_mostly section.
This commit is contained in:
parent
56c3b8b4e8
commit
14015b8880
@ -66,7 +66,7 @@ static struct srv_kw_list srv_keywords = {
|
||||
|
||||
__decl_thread(HA_SPINLOCK_T idle_conn_srv_lock);
|
||||
struct eb_root idle_conn_srv = EB_ROOT;
|
||||
struct task *idle_conn_task = NULL;
|
||||
struct task *idle_conn_task __read_mostly = NULL;
|
||||
struct list servers_list = LIST_HEAD_INIT(servers_list);
|
||||
|
||||
/* The server names dictionary */
|
||||
|
Loading…
x
Reference in New Issue
Block a user