should use heap_eden->total_pages.
The size of page_list is heap_eden->total_pages, but init_cursors() assumes the size of page_list is heap_allocated_pages. This patch fix it.
heap_allocated_pages
should use heap_eden->total_pages.
The size of page_list is heap_eden->total_pages, but
init_cursors() assumes the size of page_list is
heap_allocated_pages
.This patch fix it.