Welcome! Log In Create A New Profile

Advanced

[nginx] Slab: always show the requested allocation size in debug messages.

December 03, 2016 02:08AM
details: http://hg.nginx.org/nginx/rev/2af776c22aec
branches:
changeset: 6808:2af776c22aec
user: Ruslan Ermilov <ru@nginx.com>
date: Sat Dec 03 10:01:03 2016 +0300
description:
Slab: always show the requested allocation size in debug messages.

Previously, allocations smaller than min_size were shown as min_size.

diffstat:

src/core/ngx_slab.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r ea76a3aa18ae -r 2af776c22aec src/core/ngx_slab.c
--- a/src/core/ngx_slab.c Sat Dec 03 09:55:40 2016 +0300
+++ b/src/core/ngx_slab.c Sat Dec 03 10:01:03 2016 +0300
@@ -184,7 +184,6 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p
slot = shift - pool->min_shift;

} else {
- size = pool->min_size;
shift = pool->min_shift;
slot = 0;
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Slab: always show the requested allocation size in debug messages.

ru@nginx.com 607 December 03, 2016 02:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready