e3ffd36083
We weren't freeing old page directories on exec, so regardless of the actual size needed for the new process, we ended up with a huge address space usage. Now, all of the memory from the other process is going to be copied on the fork, and we can't do anything about that (beyond writing a separate syscall that forks+replaces without the copy, or implementing CoW, the latter being preferred) but that's at least a well-know "problem". |
||
---|---|---|
.. | ||
cpu | ||
devices | ||
ds | ||
fs | ||
include | ||
mem | ||
misc | ||
sys | ||
link.ld | ||
main.c | ||
start.s |