X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b52a012857a15e9403981d7993a00e7af635d94..f5dc91251a53f1ae8fc50749e787a38815354f3a:/src/xbt/mmalloc/mmprivate.h diff --git a/src/xbt/mmalloc/mmprivate.h b/src/xbt/mmalloc/mmprivate.h index 37e4ea718d..abf6140c9b 100644 --- a/src/xbt/mmalloc/mmprivate.h +++ b/src/xbt/mmalloc/mmprivate.h @@ -202,6 +202,8 @@ struct mdesc { /* The version number of the mmalloc package that created this file. */ unsigned char version; + unsigned int options; + /* Some flag bits to keep track of various internal things. */ unsigned int flags; @@ -218,8 +220,7 @@ struct mdesc { /* Limit of valid info table indices. */ size_t heaplimit; - /* Block information table. - Allocated with malign/mfree (not mmalloc/mfree). */ + /* Block information table. */ /* Table indexed by block number giving per-block information. */ malloc_info *heapinfo; @@ -240,7 +241,9 @@ struct mdesc { void *breakval; /* The end of the current memory region for this malloc heap. This is - the first location past the end of mapped memory. */ + the first location past the end of mapped memory. + Compared to breakval, this value is rounded to the next memory page. + */ void *top;