summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-20 04:46:29 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-20 04:46:29 +0200
commitbcc6ddfb6bd2417ccd8358f64356c1f27026ddee (patch)
treed0bf58db4319e38f9fb2308c3717fe93fe7f731d /Kernel/Process.h
parentd65114afd788e05ef4502e24a0a50b9520e4b802 (diff)
downloadserenity-bcc6ddfb6bd2417ccd8358f64356c1f27026ddee.zip
Kernel: Let PageDirectory own the associated RangeAllocator.
Since we transition to a new PageDirectory on exec(), we need a matching RangeAllocator to go with the new directory. Instead of juggling this in Process and MemoryManager, simply attach the RangeAllocator to the PageDirectory instead. Fixes #61.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 7f2f1b5a91..f0f6fb246f 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -331,7 +331,6 @@ private:
RetainPtr<ProcessTracer> m_tracer;
OwnPtr<ELFLoader> m_elf_loader;
- RangeAllocator m_range_allocator;
Lock m_big_lock { "Process" };
};