Posts, page 14

Memory Allocators: Table of Contents

It is perhaps a bit late but I am starting to have quite a few posts on the topic of memory allocators and navigation was beginning to be a bit complex.

Read the full post

Virtual Memory Aware Stack Frame Allocator

Today we cover the second variant: the virtual memory aware stack frame allocator (code). This is a fairly popular incarnation of the stack frame allocator pattern and I have seen quite a few implementations in the wild in line with this toy implementation. Similar in spirit to the virtual memory aware linear allocator, here again we gain in simplicity and performance by leveraging the virtual memory system.

Read the full post

Greedy Stack Frame Allocator

Today we cover the first stack frame allocator variant: the greedy stack frame allocator (code). It takes the term greedy from how it manages free segments after popping a frame. To better understand how this allocator works, you should first read up on the stack frame allocator family.

Read the full post

Stack Frame Allocators

This allocator family is quite possibly one of the most common memory management technique.

Read the full post

GPGPU woes part 4

After fixing the previous addressing issue, we move on to the next.

Read the full post