]> git.kaiwu.me - nginx.git/commit
Slab: fixed the number of pages calculation.
authorRuslan Ermilov <ru@nginx.com>
Wed, 7 Dec 2016 19:25:37 +0000 (22:25 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 7 Dec 2016 19:25:37 +0000 (22:25 +0300)
commit16de9fc3b52e82d1e2be740be4a1ee9adafb6fbf
tree49f23ea37845c40eb84819e10bb19b9d59abd161
parent4cf89436d10b32f9be4373e00c03518d713d1437
Slab: fixed the number of pages calculation.

When estimating the number of pages, do not count memory for slots.
In some cases this gives one extra usable memory page.
src/core/ngx_slab.c