Mercurial > hg > nginx
comparison src/core/ngx_alloc.h @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | fb61ba77beba |
children |
comparison
equal
deleted
inserted
replaced
194:2357fa41738a | 195:8dee38ea9117 |
---|---|
5 #include <ngx_config.h> | 5 #include <ngx_config.h> |
6 #include <ngx_core.h> | 6 #include <ngx_core.h> |
7 | 7 |
8 | 8 |
9 /* | 9 /* |
10 * NGX_MAX_ALLOC_FROM_POOL should be (PAGE_SIZE - 1), i.e. 4095 on x86. | 10 * NGX_MAX_ALLOC_FROM_POOL should be (NGX_PAGE_SIZE - 1), i.e. 4095 on x86. |
11 * On FreeBSD 5.x it allows to use zero copy send. | 11 * On FreeBSD 5.x it allows to use zero copy send. |
12 * On Windows NT it decreases number of locked pages in kernel. | 12 * On Windows NT it decreases a number of locked pages in a kernel. |
13 */ | 13 */ |
14 #define NGX_MAX_ALLOC_FROM_POOL 4095 | 14 #define NGX_MAX_ALLOC_FROM_POOL 4095 |
15 | 15 |
16 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) | 16 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) |
17 | 17 |