Mercurial > hg > nginx-ranges
diff src/core/ngx_radix_tree.c @ 42:41ccba1aba45 NGINX_0_1_21
nginx 0.1.21
*) 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 <http://sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 00:00:00 +0300 |
parents | 2879cd3a40cb |
children | 6cfc63e68377 |
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