align first allocation from additional pool block, this fixes bus error on sun4v
Igor Sysoev
13 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
src/core/ngx_palloc.c
less
more
170
170
new->d.next = NULL;
171
171
172
172
m += sizeof(ngx_pool_data_t);
173
m = ngx_align_ptr(m, NGX_ALIGNMENT);
173
174
new->d.last = m + size;
174
175
175
176
current = pool->current;