Scheduler: add FIXME
This commit is contained in:
parent
0ee9bd7290
commit
d3cb642e5f
@ -156,7 +156,7 @@ void Scheduler::reap_task(Task* task)
|
||||
kinfoln("reaping task %ld, exited with code %ld", exiting_task->id, exiting_task->exit_status);
|
||||
if (exiting_task->allocated_stack)
|
||||
MemoryManager::release_pages((void*)exiting_task->allocated_stack, TASK_PAGES_IN_STACK);
|
||||
if (exiting_task->image)
|
||||
if (exiting_task->image) // FIXME: Also free pages the task has mmap-ed but not munmap-ed.
|
||||
{
|
||||
for (uint64_t i = 0; i < exiting_task->image->section_count; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user