Mercurial > hg > nginx
comparison src/core/ngx_palloc.h @ 2414:cc13ff6d5c07
remove never used zero copy stuff
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 17 Dec 2008 20:47:18 +0000 |
parents | 3983e673cd40 |
children | 3a8a53c0c42f |
comparison
equal
deleted
inserted
replaced
2413:89ac47d91fc1 | 2414:cc13ff6d5c07 |
---|---|
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) |