mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 11:14:58 +00:00
Kernel: Add implied auto qualifiers in Memory
This commit is contained in:
parent
ae8c7eebbd
commit
1cdace7898
5 changed files with 27 additions and 27 deletions
|
@ -261,7 +261,7 @@ void AnonymousVMObject::ensure_or_reset_cow_map()
|
|||
|
||||
bool AnonymousVMObject::should_cow(size_t page_index, bool is_shared) const
|
||||
{
|
||||
auto& page = physical_pages()[page_index];
|
||||
auto const& page = physical_pages()[page_index];
|
||||
if (page && (page->is_shared_zero_page() || page->is_lazy_committed_page()))
|
||||
return true;
|
||||
if (is_shared)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue