]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
Detect cache line size at runtime on macOS.
authorPiotr Sikora <piotr@aviatrix.com>
Mon, 26 Feb 2024 20:00:40 +0000 (20:00 +0000)
committerPiotr Sikora <piotr@aviatrix.com>
Mon, 26 Feb 2024 20:00:40 +0000 (20:00 +0000)
commit1bc19fe2db3afc7a72eb0a91e554aee9160e0d00
tree56705869fee3caeff386a8102dc16caa07753957
parent818f98da1c46785bc23a99efff653febb1e35ac2
Detect cache line size at runtime on macOS.

Notably, Apple Silicon CPUs have 128 byte cache line size,
which is twice the default configured for generic aarch64.

Signed-off-by: Piotr Sikora <piotr@aviatrix.com>
src/os/unix/ngx_darwin_init.c
src/os/unix/ngx_posix_init.c