diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h index 95c7ae190..28308dbc0 100644 --- a/src/http/ngx_http_upstream_round_robin.h +++ b/src/http/ngx_http_upstream_round_robin.h @@ -80,7 +80,7 @@ struct ngx_http_upstream_rr_peer_s { #if (NGX_HTTP_UPSTREAM_ZONE) unsigned zombie:1; - ngx_atomic_t lock; + ngx_atomic_t lock __attribute__((aligned(64))); ngx_uint_t refs; ngx_http_upstream_host_t *host; #endif