Mercurial > hg > nginx
diff src/core/ngx_radix_tree.c @ 493:975f62e77f02 release-0.1.21
nginx-0.1.21-RELEASE import
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 14:40:13 +0000 |
parents | 45a460f82aec |
children | 64d9afb209da |
line wrap: on
line diff
--- a/src/core/ngx_radix_tree.c +++ b/src/core/ngx_radix_tree.c @@ -40,8 +40,8 @@ ngx_radix_tree_create(ngx_pool_t *pool, } /* - * We preallocate the first nodes: 0, 1, 00, 01, 10, 11, 000, 001, etc., - * to increase the TLB hits even if for the first lookup iterations. + * The preallocation the first nodes: 0, 1, 00, 01, 10, 11, 000, 001, etc. + * increases the TLB hits even if for the first lookup iterations. * On the 32-bit platforms the 7 preallocated bits takes continuous 4K, * 8 - 8K, 9 - 16K, etc. On the 64-bit platforms the 6 preallocated bits * takes continuous 4K, 7 - 8K, 8 - 16K, etc. There is no sense to