diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-17 03:40:15 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-17 03:40:15 +0200 |
commit | c414e65498770f148a9447f7efd728d72c35ab9a (patch) | |
tree | aab8599a7983121d9cb0a07e225f08f6435e8a70 /Kernel/Makefile | |
parent | c56e3ebee1fdbd242a974f7d95cbcb98272ac3b7 (diff) | |
download | serenity-c414e65498770f148a9447f7efd728d72c35ab9a.zip |
Kernel: Implement a simple virtual address range allocator.
This replaces the previous virtual address allocator which was basically
just "m_next_address += size;"
With this in place, virtual addresses can get reused, which cuts down on
the number of page tables created. When we implement ASLR some day, we'll
probably have to do page table deallocation, but for now page tables are
only deallocated once the process dies.
Diffstat (limited to 'Kernel/Makefile')
-rw-r--r-- | Kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Makefile b/Kernel/Makefile index b61b230b76..d8f6f750a8 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -18,6 +18,7 @@ KERNEL_OBJS = \ VM/VMObject.o \ VM/PageDirectory.o \ VM/PhysicalPage.o \ + VM/RangeAllocator.o \ Console.o \ IRQHandler.o \ kprintf.o \ |