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.h | |
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.h')
-rw-r--r-- | Kernel/Thread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h index b7431d0b40..24441292ac 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -1213,8 +1213,6 @@ public: bool is_profiling_suppressed() const { return m_is_profiling_suppressed; } void set_profiling_suppressed() { m_is_profiling_suppressed = true; } - InodeIndex global_procfs_inode_index() const { return m_global_procfs_inode_index; } - String backtrace(); private: @@ -1364,10 +1362,6 @@ private: RefPtr<Timer> m_block_timer; - // Note: This is needed so when we generate thread stack inodes for ProcFS, we know that - // we assigned a global Inode index to it so we can use it later - InodeIndex m_global_procfs_inode_index; - bool m_is_profiling_suppressed { false }; void yield_and_release_relock_big_lock(); |