#heap-allocator #heap #allocator #kernel

no-std increasing_heap_allocator

A heap allocator framework that can be implemented based on increasing page allocator, usable anywhere

4 releases

0.1.3 Jan 11, 2024
0.1.2 Jan 9, 2024
0.1.1 Jan 9, 2024
0.1.0 Jan 9, 2024

#359 in Operating systems

41 downloads per month
Used in 2 crates

MIT license

23KB
350 lines

Increasing Heap Allocator

This is a simple implementation of a heap allocator that can be used anywhere.

It only requires the ability to get more pages of memory, these pages must be after one another.

It can be implemented easily for example using sbrk, but also in a custom kernel.

See: https://github.com/Amjad50/OS

Dependencies

~200KB