Klaus Demo nginx / f4423eb
use ngx_pmemalign() to allocate radix pages Igor Sysoev 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
273273 }
274274
275275 if (tree->size < sizeof(ngx_radix_node_t)) {
276 tree->start = ngx_palloc(tree->pool, ngx_pagesize);
276 tree->start = ngx_pmemalign(tree->pool, ngx_pagesize, ngx_pagesize);
277277 if (tree->start == NULL) {
278278 return NULL;
279279 }