mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
Kernel: Specify a lock rank for s_mm_lock
This commit is contained in:
parent
88c27fc38e
commit
abc523a5ab
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ namespace Kernel::Memory {
|
|||
// run. If we do, then Singleton would get re-initialized, causing
|
||||
// the memory manager to be initialized twice!
|
||||
static MemoryManager* s_the;
|
||||
RecursiveSpinlock s_mm_lock;
|
||||
RecursiveSpinlock s_mm_lock { LockRank::MemoryManager };
|
||||
|
||||
MemoryManager& MemoryManager::the()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue