4 ms·
From Part 3, does malloc(PAGE_SIZE) actually guarantee a single full page is allocated or would the allocation be positioned arbitrarily and stretch across two
by lang4d 3y ago
From Part 3, does malloc(PAGE_SIZE) actually guarantee a single full page is allocated or would the allocation be positioned arbitrarily and stretch across two pages?
- webshit2 3y agoThat should be a valloc or aligned_alloc for it to actually be page-aligned