align first allocation from additional pool block, this fixes bus error on sun4v
This commit is contained in:
parent
2959de23f8
commit
476eddc439
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ ngx_palloc_block(ngx_pool_t *pool, size_t size)
|
|||
new->d.next = NULL;
|
||||
|
||||
m += sizeof(ngx_pool_data_t);
|
||||
m = ngx_align_ptr(m, NGX_ALIGNMENT);
|
||||
new->d.last = m + size;
|
||||
|
||||
current = pool->current;
|
||||
|
|
Loading…
Reference in a new issue