diff --git a/blog/post/2016-04-11-kernel-heap.md b/blog/post/2016-04-11-kernel-heap.md index a9bed349..d9164c20 100644 --- a/blog/post/2016-04-11-kernel-heap.md +++ b/blog/post/2016-04-11-kernel-heap.md @@ -834,7 +834,7 @@ in src/lib.rs: in memory::init in src/memory/mod.rs: -use bump_allocator::{HEAP_START, HEAP_SIZE}; -+use linked_list_allocator::{HEAP_START, HEAP_SIZE}; ++use hole_list_allocator::{HEAP_START, HEAP_SIZE}; ``` Our kernel uses the new allocator now, so we can deallocate memory without leaking it. The example from above should work now without causing an OOM situation: