mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Kernel: Stop eagerly loading entire executables
We were forced to do this because the page fault code would fall apart when trying to generate a backtrace for a non-current thread. This issue has been fixed for a while now, so let's go back to lazily loading executable pages which should make everything a little better.
This commit is contained in:
parent
eaa9cf58f5
commit
77737be7b3
3 changed files with 0 additions and 7 deletions
|
@ -361,10 +361,6 @@ int Process::do_exec(String path, Vector<String> arguments, Vector<String> envir
|
|||
ASSERT(success);
|
||||
}
|
||||
|
||||
#ifdef EXPENSIVE_USERSPACE_STACKS
|
||||
region->page_in();
|
||||
#endif
|
||||
|
||||
OwnPtr<ELFLoader> loader;
|
||||
{
|
||||
// Okay, here comes the sleight of hand, pay close attention..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue