diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-20 04:46:29 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-20 04:46:29 +0200 |
commit | bcc6ddfb6bd2417ccd8358f64356c1f27026ddee (patch) | |
tree | d0bf58db4319e38f9fb2308c3717fe93fe7f731d /Kernel/Process.h | |
parent | d65114afd788e05ef4502e24a0a50b9520e4b802 (diff) | |
download | serenity-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.h | 1 |
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" }; }; |