Klaus Demo nginx / 4b2844b
fix slab page or more sized allocations if nginx was build without debug Igor Sysoev 13 years ago
1 changed file(s) with 0 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
660660 }
661661
662662 page->slab = pages | NGX_SLAB_PAGE_START;
663
664 #if (NGX_DEBUG)
665663 page->next = NULL;
666664 page->prev = NGX_SLAB_PAGE;
667 #endif
668665
669666 if (--pages == 0) {
670667 return page;
672669
673670 for (p = page + 1; pages; pages--) {
674671 p->slab = NGX_SLAB_PAGE_BUSY;
675 #if (NGX_DEBUG)
676672 p->next = NULL;
677673 p->prev = NGX_SLAB_PAGE;
678 #endif
679674 p++;
680675 }
681676