mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
Add a kmalloc lock. This definitely reduces flakiness.
This commit is contained in:
parent
8e27cf2428
commit
82dae8fc90
2 changed files with 13 additions and 0 deletions
|
@ -33,6 +33,11 @@ public:
|
|||
m_lock = 0;
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
m_lock = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
volatile dword m_lock { 0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue