fix: re-enable shareable read only executable logic

This commit is contained in:
EDiasAlberto
2024-12-06 17:07:17 +00:00
parent 7f058ffc90
commit be696ec528

View File

@@ -183,7 +183,6 @@ 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);