2016-11-11 10:31 GMT+08:00 Adam <adam.mlmb@gmail.com>:
.. 
Not sure if malloc() tends to be aligned to page limits, anyhow I guess that would be a healthy assumption.

Reading some malloc implementation man pages, it is a frequent occurrence that they say that allocations of pagesize and up, are page-aligned. So yes that should be a healthy assumption.