Created
September 20, 2018 09:02
-
-
Save holmeshe/a561d70667f340482a6d6d4b5dfe69d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void split_slab_page_into_freelist(char *ptr, const unsigned int id) { | |
slabclass_t *p = &slabclass[id]; | |
int x; | |
for (x = 0; x < p->perslab; x++) { | |
do_slabs_free(ptr, 0, id); | |
ptr += p->size; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment