mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05: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
Reference in a new issue