details: https://hg.nginx.org/nginx/rev/427aa785edf8
branches:
changeset: 9232:427aa785edf8
user: Sergey Kandaurov <pluknet@nginx.com>
date: Wed Mar 27 19:36:51 2024 +0400
description:
Configure: set cache line size for more architectures.
Based on a patch by Piotr Sikora.
diffstat:
auto/os/conf | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 61cd12c25878 -r 427aa785edf8 auto/os/conf
--- a/auto/os/conf Mon Feb 26 20:00:40 2024 +0000
+++ b/auto/os/conf Wed Mar 27 19:36:51 2024 +0400
@@ -115,6 +115,21 @@ case "$NGX_MACHINE" in
NGX_MACH_CACHE_LINE=64
;;
+ ppc64* | powerpc64*)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=128
+ ;;
+
+ riscv64)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=64
+ ;;
+
+ s390x)
+ have=NGX_ALIGNMENT value=16 . auto/define
+ NGX_MACH_CACHE_LINE=256
+ ;;
+
*)
have=NGX_ALIGNMENT value=16 . auto/define
NGX_MACH_CACHE_LINE=32
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel