mirror of
https://github.com/nginx/nginx.git
synced 2024-11-28 11:43:51 -06:00
Configure: set cache line size for more architectures.
Based on a patch by Piotr Sikora.
This commit is contained in:
parent
1bc19fe2db
commit
6b1bb998c9
15
auto/os/conf
15
auto/os/conf
@ -115,6 +115,21 @@ case "$NGX_MACHINE" in
|
|||||||
NGX_MACH_CACHE_LINE=64
|
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
|
have=NGX_ALIGNMENT value=16 . auto/define
|
||||||
NGX_MACH_CACHE_LINE=32
|
NGX_MACH_CACHE_LINE=32
|
||||||
|
Loading…
Reference in New Issue
Block a user