Skip to content

Dynamic process heap size #4

@atwardzik

Description

@atwardzik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions