]> git.kaiwu.me - nginx.git/commit
Use sysconf to determine cacheline size at runtime.
authorDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>
Mon, 11 Dec 2017 16:28:11 +0000 (16:28 +0000)
committerDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>
Mon, 11 Dec 2017 16:28:11 +0000 (16:28 +0000)
commitd2d737e70b46429ef9ed71b99402a9151f3c2e1f
tree753c4214af666f79be351fe365020066143d3387
parentb75f419b2cb9a7ccb92e63e4cee340ca01099c2c
Use sysconf to determine cacheline size at runtime.

Determine cacheline size at runtime if supported
using sysconf(_SC_LEVEL1_DCACHE_LINESIZE). In case not supported,
fallback to compile time defaults.
auto/unix
src/os/unix/ngx_posix_init.c