diff options
| author | Debayan Ghosh <debayang.qdt@qualcommdatacenter.com> | 2017-12-11 16:28:11 +0000 |
|---|---|---|
| committer | Debayan Ghosh <debayang.qdt@qualcommdatacenter.com> | 2017-12-11 16:28:11 +0000 |
| commit | d2d737e70b46429ef9ed71b99402a9151f3c2e1f (patch) | |
| tree | 753c4214af666f79be351fe365020066143d3387 /auto/unix | |
| parent | b75f419b2cb9a7ccb92e63e4cee340ca01099c2c (diff) | |
| download | nginx-d2d737e70b46429ef9ed71b99402a9151f3c2e1f.tar.gz nginx-d2d737e70b46429ef9ed71b99402a9151f3c2e1f.tar.bz2 | |
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 'auto/unix')
| -rw-r--r-- | auto/unix | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -964,6 +964,16 @@ ngx_feature_test="sysconf(_SC_NPROCESSORS_ONLN)" . auto/feature +ngx_feature="sysconf(_SC_LEVEL1_DCACHE_LINESIZE)" +ngx_feature_name="NGX_HAVE_LEVEL1_DCACHE_LINESIZE" +ngx_feature_run=no +ngx_feature_incs= +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="sysconf(_SC_LEVEL1_DCACHE_LINESIZE)" +. auto/feature + + ngx_feature="openat(), fstatat()" ngx_feature_name="NGX_HAVE_OPENAT" ngx_feature_run=no |
