mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel: Protect Inode flock list with spinlock instead of mutex
This commit is contained in:
parent
a81aebfd6e
commit
e7dc9f71b8
Notes:
sideshowbarker
2024-07-17 19:50:32 +09:00
Author: https://github.com/awesomekling
Commit: e7dc9f71b8
2 changed files with 45 additions and 48 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue