commit | 48e94e66722bf864b11537e27895472930e7ca83 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Thu Dec 08 17:22:07 2016 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Thu Dec 08 17:22:07 2016 +0300 |
tree | 7224ee87e63a6891e08bbfca92778ec4c33b6692 | |
parent | 78b25ea71328cb2801ea1fee420428f8aeced5db [diff] |
Slab: commented bitmap initialization for small allocations.
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 6695bb3..66faecc 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c
@@ -338,6 +338,7 @@ n = 1; } + /* "n" elements for bitmap, plus one requested */ bitmap[0] = ((uintptr_t) 2 << n) - 1; map = (ngx_pagesize >> shift) / (sizeof(uintptr_t) * 8);