diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2024-03-27 19:36:51 +0400 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2024-03-27 19:36:51 +0400 |
| commit | 6b1bb998c96278a56d767bc23520c385ab9f3038 (patch) | |
| tree | 404bc7f4ca204a1374ad1d6d488ca952ffaab025 | |
| parent | 1bc19fe2db3afc7a72eb0a91e554aee9160e0d00 (diff) | |
| download | nginx-6b1bb998c96278a56d767bc23520c385ab9f3038.tar.gz nginx-6b1bb998c96278a56d767bc23520c385ab9f3038.tar.bz2 | |
Configure: set cache line size for more architectures.
Based on a patch by Piotr Sikora.
| -rw-r--r-- | auto/os/conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf index d7f6e0382..bb0ce4ef2 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -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 |
