Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created June 24, 2020 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenderlove/c3db31d9db3ebe21220276d4f308f91d to your computer and use it in GitHub Desktop.
Save tenderlove/c3db31d9db3ebe21220276d4f308f91d to your computer and use it in GitHub Desktop.
page_body = (struct heap_page_body *)rb_aligned_malloc(HEAP_PAGE_ALIGN, HEAP_PAGE_SIZE);
/* cut.. */
page = calloc1(sizeof(struct heap_page));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment