aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_alloc.h')
-rw-r--r--src/core/ngx_alloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_alloc.h b/src/core/ngx_alloc.h
index 946361182..e64f84f4a 100644
--- a/src/core/ngx_alloc.h
+++ b/src/core/ngx_alloc.h
@@ -7,9 +7,9 @@
/*
- * NGX_MAX_ALLOC_FROM_POOL should be (PAGE_SIZE - 1), i.e. 4095 on x86.
+ * NGX_MAX_ALLOC_FROM_POOL should be (NGX_PAGE_SIZE - 1), i.e. 4095 on x86.
* On FreeBSD 5.x it allows to use zero copy send.
- * On Windows NT it decreases number of locked pages in kernel.
+ * On Windows NT it decreases a number of locked pages in a kernel.
*/
#define NGX_MAX_ALLOC_FROM_POOL 4095