Skip to content

Commit a1904b6

Browse files
tomutaawesomekling
authored andcommitted
Kernel: Fix dirty page map bitmap
We also need to check against the new lazy allocation page when generating the dirty page bitmap.
1 parent e87eaf5 commit a1904b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kernel/FileSystem/ProcFS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static OwnPtr<KBuffer> procfs$pid_vm(InodeIdentifier identifier)
348348
auto* page = region.physical_page(i);
349349
if (!page)
350350
pagemap_builder.append('N');
351-
else if (page->is_shared_zero_page())
351+
else if (page->is_shared_zero_page() || page->is_lazy_committed_page())
352352
pagemap_builder.append('Z');
353353
else
354354
pagemap_builder.append('P');

0 commit comments

Comments
 (0)