Extracting the starting address of the arena_run_t from the mapping information present in arena_chunk_t for each page

Jason Evans jasone at canonware.com
Thu Jul 17 12:31:05 PDT 2014


On Jul 17, 2014, at 11:28 AM, shireesh bhat <shireeshbhat at yahoo.co.in> wrote:
> Even if I find out the page's offset how do I find the address of arena_run_t, since I just know the mapping information for every page which is present in arena_chunk_t.

Take a close look at the header comments for struct arena_chunk_map_s.  The information is in the chunk's page map, which it sounds like you've already figured out how to access.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20140717/35015533/attachment.html>


More information about the jemalloc-discuss mailing list