mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
align first allocation from additional pool block, this fixes bus error on sun4v
This commit is contained in:
parent
e4c10b25d4
commit
8329a5bc34
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…
Add table
Add a link
Reference in a new issue