mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-18 00:02:01 +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
Notes:
sideshowbarker
2024-07-19 00:14:03 +09:00
Author: https://github.com/tomuta
Commit: a1904b67e9
Pull-request: https://github.com/SerenityOS/serenity/pull/4725
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);
|
||||
if (!page)
|
||||
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');
|
||||
else
|
||||
pagemap_builder.append('P');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue