NT Heap free list split mechanics

ElonButNotMusk 0 Reputation points
2025-03-19T11:51:33.7433333+00:00

I am trying to develop my own Heap for an IoT platform, which is supposed to be an equivalent to the NT heap of Windows for my Masters degree.

Does the allocator do anything special when it comes to chunk split from free-lists? In which cases the allocator would rather allocate the whole chunk from the free-list rather than splitting it into two separate chunks? Are there any edge cases I should consider when trying to implement?

I've tried to search for answers online but couldn't find any valuable answers to this question :(

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.