diff options
author | Liav A <liavalb@gmail.com> | 2021-08-10 20:51:28 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 20:57:32 +0200 |
commit | 7ba991dc371ecd055829699852f7cb821472667f (patch) | |
tree | 1c53f16ae0de005e8f539a15f12329453b5d4f4a /Kernel/Thread.cpp | |
parent | bf1adc2d5d383c0421f19ccb36a0358ff2ee0ce5 (diff) | |
download | serenity-7ba991dc371ecd055829699852f7cb821472667f.zip |
Kernel: Steer away from heap allocations for ProcFS process data
Instead, use more static patterns to acquire that sort of data.
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r-- | Kernel/Thread.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp index b580e6445e..f4f6c88fac 100644 --- a/Kernel/Thread.cpp +++ b/Kernel/Thread.cpp @@ -62,7 +62,6 @@ Thread::Thread(NonnullRefPtr<Process> process, NonnullOwnPtr<Memory::Region> ker , m_kernel_stack_region(move(kernel_stack_region)) , m_name(move(name)) , m_block_timer(block_timer) - , m_global_procfs_inode_index(ProcFSComponentRegistry::the().allocate_inode_index()) { bool is_first_thread = m_process->add_thread(*this); if (is_first_thread) { |