# HG changeset patch # User Ruslan Ermilov # Date 1481206927 -10800 # Node ID 6eed5ed31e2276379fbbcab69b503d21cb55638c # Parent 6e757036e5883c96aff23136423281345a89d97e Slab: commented bitmap initialization for small allocations. diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -338,6 +338,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p n = 1; } + /* "n" elements for bitmap, plus one requested */ bitmap[0] = ((uintptr_t) 2 << n) - 1; map = (ngx_pagesize >> shift) / (sizeof(uintptr_t) * 8);