-
Notifications
You must be signed in to change notification settings - Fork 15
Userspace incremental-only heap implementation #21
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestkernelspaceKernel-relatedKernel-relatedside questA task which, upon solving, yields the solver bonus pointsA task which, upon solving, yields the solver bonus pointsuserspaceUserspace-related (task, standard library, CRT0, etc.)Userspace-related (task, standard library, CRT0, etc.)
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkernelspaceKernel-relatedKernel-relatedside questA task which, upon solving, yields the solver bonus pointsA task which, upon solving, yields the solver bonus pointsuserspaceUserspace-related (task, standard library, CRT0, etc.)Userspace-related (task, standard library, CRT0, etc.)
The task here is to implement a heap for userspace. Every process may request an arbitrary amount of heap memory. The heap must be incremental-only; thus, no deallocation is required, only allocation.
The implementor is required to reduce the number of system calls for allocations, utilizing a standard library implementation of his/her own making. A simple way of achieving the reduction could be demonstrated as follows:
Thus, the implementor must implement:
brkandsbrk, or a completely different approach)malloc()standard library implementation with at least a simple way of reducing system calls