Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-27 19:37:39 +0300
committerIgor Sysoev <igor@sysoev.ru>2009-03-27 19:37:39 +0300
commit04fe40023ad6fae43bffeebbfee5af374ce8e777 (patch)
tree6db4b5f60535b0cf59016054c9313328ecf7f1cf /src/core/ngx_slab.c
parent766f3a97532039a3170207edb27a9903fa36e8ef (diff)
delete old debugging and info
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r--src/core/ngx_slab.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c
index 412f42879..afa2b40f9 100644
--- a/src/core/ngx_slab.c
+++ b/src/core/ngx_slab.c
@@ -6,23 +6,6 @@
#include <ngx_config.h>
#include <ngx_core.h>
-/*
-
- 12
- 2048 2 11
- 1024 4 10
- 512 8 9
- 256 16 8
-
- 128 32 4 32 7
-
- 64 64 8 63 6 1
- 32 128 16 127 5 1
- 16 256 32 254 4 2
- 8 512 64 504 3 8
-
- */
-
#define NGX_SLAB_PAGE_MASK 3
#define NGX_SLAB_PAGE 0
@@ -146,12 +129,6 @@ ngx_slab_init(ngx_slab_pool_t *pool)
pages -= m;
pool->pages->slab = pages;
}
-
-#if 0
- ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "slab: %p, %p, %ui, %d",
- pool, pool->start, pages,
- (pool->end - pool->start) / ngx_pagesize - pages);
-#endif
}