<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Jul 17, 2014, at 8:54 AM, shireesh bhat <<a href="mailto:shireeshbhat@yahoo.co.in">shireeshbhat@yahoo.co.in</a>> wrote:<div><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto;"><div style="" class="">I want to extract the starting address of the arena_run_t from the mapping information present in arena_chunk_t for each page.</div><div style="" class="">Suppose I know the starting address of one of the chunks and have retrieved the mapping information for a particular page from the 'map' structure inside arena_chunk_t, is it possible for me to retrieve the address of arena_run_t to which the page belongs?</div></div></div></blockquote><br></div><div>As currently implemented, the arena_run_t data structure is embedded at offset 0 within the run itself, so as long as you know the page's offset from the beginning of the run (which is recorded in the chunk's page map), you can directly compute the (arena_run_t *).</div><div><br></div><div>Jason</div><br></body></html>