Task description
Currently each process becomes fixed 8[KB] page on creation. This might be too much for some processes, and too little for other. The scope of this issue is limited, as there is no virtual memory. However one can make the code section fixed in size, assign fixed max size of a stack, but the heap may be reallocated.
Goal
Research what is the best process allocation size. Create syscall sys_alloc, that will manage assigned heap(s) to the process.
Related Files
Task description
Currently each process becomes fixed 8[KB] page on creation. This might be too much for some processes, and too little for other. The scope of this issue is limited, as there is no virtual memory. However one can make the code section fixed in size, assign fixed max size of a stack, but the heap may be reallocated.
Goal
Research what is the best process allocation size. Create syscall
sys_alloc, that will manage assigned heap(s) to the process.Related Files
src/kernel/proc.c