From b75f419b2cb9a7ccb92e63e4cee340ca01099c2c Mon Sep 17 00:00:00 2001 From: Debayan Ghosh Date: Mon, 11 Dec 2017 15:05:35 +0000 Subject: [PATCH] Configure: set default cacheline size to 64 for aarch64 platforms. --- auto/os/conf | 5 +++++ 1 file changed, 5 insertions(+) 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