1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Kernel: Stop taking MM lock while using PD/PT quickmaps

This is no longer required as these quickmaps are now per-CPU. :^)
This commit is contained in:
Andreas Kling 2022-08-22 14:56:26 +02:00
parent a838fdfd88
commit c8375c51ff
3 changed files with 0 additions and 12 deletions

View file

@ -213,7 +213,6 @@ bool Region::map_individual_page_impl(size_t page_index, LockRefPtr<PhysicalPage
PANIC("About to map mmap'ed page at a kernel address");
}
SpinlockLocker lock(s_mm_lock);
auto* pte = MM.ensure_pte(*m_page_directory, page_vaddr);
if (!pte)
return false;