diff options
author | Ruslan Ermilov <ru@nginx.com> | 2017-07-04 18:32:30 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2017-07-04 18:32:30 +0300 |
commit | d0071f08e88660aab9af84f4210c1a4a32f34980 (patch) | |
tree | 9e0f2266fe6ee4e0e1f4443ba9461f8996540f9d /src/core/ngx_resolver.c | |
parent | 75c3f8958be4ae7284a46f1d61d79193e6bc5d95 (diff) | |
download | nginx-d0071f08e88660aab9af84f4210c1a4a32f34980.tar.gz nginx-d0071f08e88660aab9af84f4210c1a4a32f34980.zip |
Slab: fixed small allocations on systems with large pagesize.
Notably, on ppc64 with 64k pagesize, slab 0 (of size 8) requires
128 64-bit elements for bitmasks. The code bogusly assumed that
one uintptr_t is enough for bitmasks plus at least one free slot.
Diffstat (limited to 'src/core/ngx_resolver.c')
0 files changed, 0 insertions, 0 deletions