summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_slab.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-09-24Merge of r4778, r4782, r4783, r4824, r4830, r4834: minor fixes.Maxim Dounin1-2/+2
*) Reorder checks in ngx_shared_memory_add() for more consistent error messages. *) Added "const" to ngx_memcpy() with NGX_MEMCPY_LIMIT defined. This fixes warning produced during compilation of the ngx_http_geoip_module due to const qualifier being discarded. *) Fixed possible use of old cached times if runtime went backwards. If ngx_time_sigsafe_update() updated only ngx_cached_err_log_time, and then clock was adjusted backwards, the cached_time[slot].sec might accidentally match current seconds on next ngx_time_update() call, resulting in various cached times not being updated. Fix is to clear the cached_time[slot].sec to explicitly mark cached times are stale and need updating. *) Radix tree preallocation fix. The preallocation size was calculated incorrectly and was always 8 due to sizeof(ngx_radix_tree_t) accidentally used instead of sizeof(ngx_radix_node_t). *) Fixed overflow if ngx_slab_alloc() is called with very big "size" argument. *) Write filter: replaced unneeded loop with one to free chains. Noted by Gabor Lekeny.
2012-08-06Merge of r4765: reduced the number of preprocessor directives.Maxim Dounin1-5/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-10-24Using of junk value in slab allocator similar to modern FreeBSD values.Igor Sysoev1-2/+2
2011-10-24malloc() debugging on MacOSX.Igor Sysoev1-2/+2
2009-04-15fix building by BCC without NGX_DEBUG_MALLOCIgor Sysoev1-2/+2
2009-03-27improve ngx_slab_alloc() error loggingIgor Sysoev1-12/+22
2009-03-27delete old debugging and infoIgor Sysoev1-23/+0
2009-01-25fix slab page or more sized allocations if nginx was build without debugIgor Sysoev1-5/+0
2009-01-12style fixIgor Sysoev1-1/+1
2007-12-22take MALLOC_OPTIONS=J into account in slab allocatorIgor Sysoev1-1/+14
2007-11-16the simple expression has the same precision without overflowIgor Sysoev1-4/+1
2007-01-11fix slab allocator on 64-bit platfromsIgor Sysoev1-2/+2
2007-01-11fix slab allocator on 64-bit platfromsIgor Sysoev1-7/+8
2007-01-02style fixIgor Sysoev1-1/+1
2007-01-02many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked()Igor Sysoev1-26/+48
2006-11-27fix building on 64-bit platformsIgor Sysoev1-4/+4
2006-11-20slab allocator in shared memoryIgor Sysoev1-2/+676
2006-10-28undo the previous wrong commitIgor Sysoev1-35/+2
2006-10-28bad commitIgor Sysoev1-2/+35
2004-09-29nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyrightIgor Sysoev1-1/+1
2004-09-28nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused filesIgor Sysoev1-2/+5
2004-06-16nginx-0.0.7-2004-06-16-23:36:07 importIgor Sysoev1-0/+8