mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
Kernel: Steer away from heap allocations for ProcFS process data
Instead, use more static patterns to acquire that sort of data.
This commit is contained in:
parent
bf1adc2d5d
commit
7ba991dc37
11 changed files with 991 additions and 879 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue