<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Jason,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>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.<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif;
 background-color: transparent; font-style: normal;"><span>Regards,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Shireesh</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, 17 July 2014 1:33 PM, Jason Evans <jasone@canonware.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv6552685940"><div>On Jul 17, 2014, at 8:54 AM, shireesh bhat <<a rel="nofollow" shape="rect" ymailto="mailto:shireeshbhat@yahoo.co.in" target="_blank" href="mailto:shireeshbhat@yahoo.co.in">shireeshbhat@yahoo.co.in</a>> wrote:<div><div
 class="yiv6552685940yqt2439729873" id="yiv6552685940yqtfd43345"><blockquote type="cite"><div><div style="background-color:rgb(255, 255, 255);font-family:'times new roman', 'new york', times, serif;font-size:12pt;"><div class="yiv6552685940" style="">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 class="yiv6552685940" style="">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></div><br clear="none"></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 clear="none"></div><div>Jason</div><div class="yiv6552685940yqt2439729873" id="yiv6552685940yqtfd45630"><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>