1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

Kernel: Make the space lock a RecursiveSpinLock

This commit is contained in:
Andreas Kling 2021-02-08 22:28:48 +01:00
parent 0d7af498d7
commit 4cd2c475a8

View file

@ -68,7 +68,7 @@ public:
void remove_all_regions(Badge<Process>);
SpinLock<u32>& get_lock() const { return m_lock; }
RecursiveSpinLock& get_lock() const { return m_lock; }
size_t amount_clean_inode() const;
size_t amount_dirty_private() const;
@ -82,7 +82,7 @@ private:
Space(Process&, NonnullRefPtr<PageDirectory>);
Process* m_process { nullptr };
mutable SpinLock<u32> m_lock;
mutable RecursiveSpinLock m_lock;
RefPtr<PageDirectory> m_page_directory;