[Zion] Free paging structures after process exit.

This commit is contained in:
Drew Galbraith 2023-11-24 17:19:32 -08:00
parent 39ac0216dd
commit 46ae5de30a
5 changed files with 39 additions and 1 deletions

View file

@ -105,6 +105,8 @@ void Process::Cleanup() {
PANIC_ON_ERR(vmas_->FreeAddressRange(0, kUserSpaceMax),
"Failed to cleanup userspace mappings in process exit.");
// 4. Release paging structures. TODO
// 4. Release paging structures.
vmas_ = nullptr;
state_ = FINISHED;
}