mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
Kernel: Specify default memory order for some non-synchronizing Atomics
This commit is contained in:
parent
fb84f0ec9c
commit
901ef3f1c8
Notes:
sideshowbarker
2024-07-19 00:07:11 +09:00
Author: https://github.com/tomuta
Commit: 901ef3f1c8
Pull-request: https://github.com/SerenityOS/serenity/pull/4783
12 changed files with 44 additions and 43 deletions
|
@ -205,7 +205,7 @@ void MemoryManager::parse_memory_map()
|
|||
ASSERT(m_user_physical_pages > 0);
|
||||
|
||||
// We start out with no committed pages
|
||||
m_user_physical_pages_uncommitted = m_user_physical_pages;
|
||||
m_user_physical_pages_uncommitted = m_user_physical_pages.load();
|
||||
}
|
||||
|
||||
PageTableEntry* MemoryManager::pte(PageDirectory& page_directory, VirtualAddress vaddr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue