From 5de4255fcaeb28bf83e7696d25a889d4b4067ac8 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 15 Nov 2015 11:49:08 +0100 Subject: [PATCH] Add a conclusion to the `allocating frames` post --- posts/2015-11-15-allocating-frames.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/posts/2015-11-15-allocating-frames.md b/posts/2015-11-15-allocating-frames.md index 00255ed1..09743945 100644 --- a/posts/2015-11-15-allocating-frames.md +++ b/posts/2015-11-15-allocating-frames.md @@ -357,6 +357,10 @@ You can try different amounts of memory by passing e.g. `-m 500M` to QEMU. To co [WolframAlpha]: http://www.wolframalpha.com/input/?i=%2832605+*+4096%29+bytes+in+MiB +## Conclusion + +Now we have a working frame allocator. It is a bit rudimentary and cannot free frames, but it also is very fast since it reuses the Multiboot memory map and does not need any costly initialization. A future post will build upon this allocator and add a stack-like data structure for freed frames. + ## What's next? The next post will be about paging again. We will use the frame allocator to create a safe module that allows us to switch page tables and map pages. Then we will use this module and the information from the Elf-sections tag to remap the kernel correctly.