]> git.kaiwu.me - nginx.git/commit
Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
authorIgor Sysoev <igor@sysoev.ru>
Wed, 30 Sep 2009 12:56:44 +0000 (12:56 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 30 Sep 2009 12:56:44 +0000 (12:56 +0000)
commit687b0e99ea4ff631e447fff2d177d0c9297529fc
tree5a82866c784ba18d911e76d696f7ebc49408e39a
parent689064b91adbf990d266e0e85b31d0b2d33b1515
Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
our SPARC 16-byte alignment and some allocations may be done out of pool.
ngx_memalign(ngx_pagesize) fixes this issue.
src/core/nginx.c
src/core/ngx_palloc.c