aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>2017-12-11 15:05:35 +0000
committerDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>2017-12-11 15:05:35 +0000
commitb75f419b2cb9a7ccb92e63e4cee340ca01099c2c (patch)
tree245557f27697eceb1bef170288f43765f1ffb105
parent40f1c48b53707c8e448330a865b48778a3a7ece6 (diff)
downloadnginx-b75f419b2cb9a7ccb92e63e4cee340ca01099c2c.tar.gz
nginx-b75f419b2cb9a7ccb92e63e4cee340ca01099c2c.zip
Configure: set default cacheline size to 64 for aarch64 platforms.
-rw-r--r--auto/os/conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 6096af5d5..7c6cb691a 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -110,6 +110,11 @@ case "$NGX_MACHINE" in
NGX_MACH_CACHE_LINE=64
;;
+ aarch64 )
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=64
+ ;;
+
*)
have=NGX_ALIGNMENT value=16 . auto/define
NGX_MACH_CACHE_LINE=32