Mercurial > hg > nginx-ranges
comparison src/core/ngx_palloc.h @ 441:fd759445d8a8 NGINX_0_7_28
nginx 0.7.28
*) Change: in memory allocation in the ngx_http_gzip_filter_module.
*) Change: the default "gzip_buffers" directive values have been
changed to 32 4k or 16 8k from 4 4k/8k.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 22 Dec 2008 00:00:00 +0300 |
parents | 88d3e895bdf9 |
children | c8cfb6c462ef |
comparison
equal
deleted
inserted
replaced
440:e2c4e8b635a8 | 441:fd759445d8a8 |
---|---|
12 #include <ngx_core.h> | 12 #include <ngx_core.h> |
13 | 13 |
14 | 14 |
15 /* | 15 /* |
16 * NGX_MAX_ALLOC_FROM_POOL should be (ngx_pagesize - 1), i.e. 4095 on x86. | 16 * NGX_MAX_ALLOC_FROM_POOL should be (ngx_pagesize - 1), i.e. 4095 on x86. |
17 * On FreeBSD 5.x it allows to use the zero copy sending. | |
18 * On Windows NT it decreases a number of locked pages in a kernel. | 17 * On Windows NT it decreases a number of locked pages in a kernel. |
19 */ | 18 */ |
20 #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) | 19 #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) |
21 | 20 |
22 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) | 21 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) |