GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

実装[]

 258 /* Additional data needed for small pages.  */
259 struct small_page_entry
260 {
261   struct page_entry common;
262 
 263   /* The next small page entry, or NULL if this is the last.  */
 次のsmall pageのアドレス
264   struct small_page_entry *next;
265 
 266   /* If currently marking this zone, a pointer to the mark bits
 267      for this page.  If we aren't currently marking this zone,
 268      this pointer may be stale (pointing to freed memory).  */
269   mark_type *mark_bits;
270 
 271   /* The allocation bitmap.  This array extends far enough to have
 272      one bit for every BYTES_PER_ALLOC_BIT bytes in the page.  */
 配分ビットマップ。
 この配列は、ページであらゆるBYTES_PER_ALLOC_BITバイトのための1ビットを持つのに十分遠く広がります。
273   alloc_type alloc_bits[1];
274 };


リンク元

Advertisement