mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Kernel: Specify a lock rank for s_mm_lock
This commit is contained in:
committed by
Andreas Kling
parent
88c27fc38e
commit
abc523a5ab
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user