mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
Kernel: Don't allocate and discard an extra stack for every process.
This commit is contained in:
parent
b30773638e
commit
e969419202
2 changed files with 13 additions and 18 deletions
|
@ -306,6 +306,7 @@ private:
|
|||
|
||||
int do_exec(String path, Vector<String> arguments, Vector<String> environment);
|
||||
void push_value_on_stack(dword);
|
||||
void make_userspace_stack(Vector<String> arguments, Vector<String> environment);
|
||||
|
||||
int alloc_fd();
|
||||
void set_default_signal_dispositions();
|
||||
|
@ -389,7 +390,6 @@ private:
|
|||
Vector<String> m_initial_environment;
|
||||
HashTable<gid_t> m_gids;
|
||||
|
||||
Region* m_stack_region { nullptr };
|
||||
Region* m_signal_stack_user_region { nullptr };
|
||||
Region* m_signal_stack_kernel_region { nullptr };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue