Implement implicitly unmapping all mmapped files when a process exits. Refactor to reduce duplication

This commit is contained in:
sBubshait
2024-12-04 22:00:59 +00:00
parent 806d6bc19e
commit 26a2d40325
4 changed files with 11 additions and 37 deletions

View File

@@ -59,7 +59,6 @@ page_get (void *upage)
struct hash_elem *e
= hash_find (&thread_current ()->pages, &fake_page_entry.elem);
if (e == NULL)
return NULL;