Memory protection and page fault handling