aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>2017-12-11 16:28:11 +0000
committerDebayan Ghosh <debayang.qdt@qualcommdatacenter.com>2017-12-11 16:28:11 +0000
commitd2d737e70b46429ef9ed71b99402a9151f3c2e1f (patch)
tree753c4214af666f79be351fe365020066143d3387 /src/os/unix/ngx_linux_config.h
parentb75f419b2cb9a7ccb92e63e4cee340ca01099c2c (diff)
downloadnginx-d2d737e70b46429ef9ed71b99402a9151f3c2e1f.tar.gz
nginx-d2d737e70b46429ef9ed71b99402a9151f3c2e1f.zip
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.
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
0 files changed, 0 insertions, 0 deletions