Kernel: Make PageTable::s_fast_page_lock non-recursive

This lock is only used in wrapper of PageTable. There is no possiblity
of taking the lock outside of these wrappers.
This commit is contained in:
2024-05-24 14:12:35 +03:00
parent 7db7cfe20f
commit 2be4fe8404
2 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ namespace Kernel
private:
paddr_t m_highest_paging_struct { 0 };
mutable RecursiveSpinLock m_lock;
static RecursiveSpinLock s_fast_page_lock;
static SpinLock s_fast_page_lock;
};
static constexpr size_t range_page_count(vaddr_t start, size_t bytes)