From: Ruslan Ermilov Date: Sat, 3 Dec 2016 07:01:03 +0000 (+0300) Subject: Slab: always show the requested allocation size in debug messages. X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=34b41a70a606c254fdfc12a570c4514a24f06793;p=nginx.git Slab: always show the requested allocation size in debug messages. Previously, allocations smaller than min_size were shown as min_size. --- diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 9d257f364..b2adbf423 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -184,7 +184,6 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) slot = shift - pool->min_shift; } else { - size = pool->min_size; shift = pool->min_shift; slot = 0; }