Hi!<br>As far as i know, malloc return pointer aligned for using with standart data types (int, long, struct, etc... usually 8 bytes).<br>Why is NGX_POOL_ALIGNMENT = 16 ? Why is that ? For 64-bit systems ? <br>I&#39;m very interested in nginx internals, i can learn a lot from it.<br>
PS: discussion at stackoverflow, people also don&#39;t know the reason of number 16. <a href="http://stackoverflow.com/questions/6410609/when-do-we-need-to-use-posix-memalign-instead-of-malloc">http://stackoverflow.com/questions/6410609/when-do-we-need-to-use-posix-memalign-instead-of-malloc</a><br>
Please help.<br>