[nginx] Configure: set default cacheline size to 64 for aarch64 platforms.

Maxim Dounin mdounin at mdounin.ru
Wed Dec 13 17:18:48 UTC 2017


details:   http://hg.nginx.org/nginx/rev/e4c21e417277
branches:  
changeset: 7172:e4c21e417277
user:      Debayan Ghosh <debayang.qdt at qualcommdatacenter.com>
date:      Mon Dec 11 15:05:35 2017 +0000
description:
Configure: set default cacheline size to 64 for aarch64 platforms.

diffstat:

 auto/os/conf |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/auto/os/conf b/auto/os/conf
--- 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


More information about the nginx-devel mailing list