Hacker News new | ask | show | jobs
by lang4d 1136 days 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?
1 comments

That should be a valloc or aligned_alloc for it to actually be page-aligned