commit | ff21738b74cbb38579a5c420a0e2e471a8713486 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Tue Jul 04 18:32:30 2017 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Tue Jul 04 18:32:30 2017 +0300 |
tree | 9e0f2266fe6ee4e0e1f4443ba9461f8996540f9d | |
parent | 13399c5056b26cd5758db74642f175c49796e266 [diff] |
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.