Kernel: Protect Inode flock list with spinlock instead of mutex

This commit is contained in:
Andreas Kling 2022-02-03 17:28:45 +01:00
commit e7dc9f71b8
Notes: sideshowbarker 2024-07-17 19:50:32 +09:00
2 changed files with 45 additions and 48 deletions

View file

@ -131,7 +131,7 @@ private:
short type;
};
Vector<Flock> m_flocks;
SpinlockProtected<Vector<Flock>> m_flocks;
public:
using AllInstancesList = IntrusiveList<&Inode::m_inode_list_node>;