Skip to content

Commit

Permalink
Configure: set default cacheline size to 64 for aarch64 platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
debayang committed Dec 11, 2017
1 parent 40f1c48 commit b75f419
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions auto/os/conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b75f419

Please sign in to comment.