commit | 8329a5bc343387d9f7fc35f37a096fc6d3a6909a | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Nov 06 16:14:24 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Nov 06 16:14:24 2008 +0000 |
tree | bb34f81248b10a4f85b8ba8a00e8090ad173de6d | |
parent | e4c10b25d474f939e0d5384eb0558804bdd7c490 [diff] |
align first allocation from additional pool block, this fixes bus error on sun4v
diff --git a/src/core/ngx_palloc.c b/src/core/ngx_palloc.c index 0cadd4a..ce826ba 100644 --- a/src/core/ngx_palloc.c +++ b/src/core/ngx_palloc.c
@@ -171,6 +171,7 @@ 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;