Merge 'vm/merged/pinning-synch' into master #64

Merged
sb3923 merged 8 commits from vm/merged/pinning-synch into master 2024-12-06 16:31:38 +00:00
Showing only changes of commit 8ac34063d7 - Show all commits

View File

@@ -183,6 +183,7 @@ page_load_file (struct page_entry *page)
panics as this should not happen if eviction is working correctly. */
struct thread *t = thread_current ();
bool shareable = !page->writable && file_compare (page->file, t->exec_file);
shareable = false;
if (shareable)
{
lock_acquire (&shared_file_pages_lock);