mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue