mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:07:35 +00:00
Kernel: Fix dirty page map bitmap
We also need to check against the new lazy allocation page when generating the dirty page bitmap.
This commit is contained in:
parent
e87eaf5df0
commit
a1904b67e9
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ static OwnPtr<KBuffer> procfs$pid_vm(InodeIdentifier identifier)
|
||||||
auto* page = region.physical_page(i);
|
auto* page = region.physical_page(i);
|
||||||
if (!page)
|
if (!page)
|
||||||
pagemap_builder.append('N');
|
pagemap_builder.append('N');
|
||||||
else if (page->is_shared_zero_page())
|
else if (page->is_shared_zero_page() || page->is_lazy_committed_page())
|
||||||
pagemap_builder.append('Z');
|
pagemap_builder.append('Z');
|
||||||
else
|
else
|
||||||
pagemap_builder.append('P');
|
pagemap_builder.append('P');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue