]> git.kaiwu.me - nginx.git/commitdiff
Configure: set default cacheline size to 64 for aarch64 platforms.
authorDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>
Mon, 11 Dec 2017 15:05:35 +0000 (15:05 +0000)
committerDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>
Mon, 11 Dec 2017 15:05:35 +0000 (15:05 +0000)
auto/os/conf

index 6096af5d5ff15c7bf01691e3e2d7984aaaebfb63..7c6cb691a00fec4cf164074d480da54fcb084194 100644 (file)
@@ -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