diff options
author | Tom <tomut@yahoo.com> | 2021-01-01 16:08:59 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-02 00:10:21 +0100 |
commit | a1904b67e94e0f630527c6bd969f277ccefaa5df (patch) | |
tree | bafacb1ecfc02e6e379a4d1910e3be931f4eee5a /Kernel/FileSystem | |
parent | e87eaf5df0176531d5ce713ca0088b4ffb6d331a (diff) | |
download | serenity-a1904b67e94e0f630527c6bd969f277ccefaa5df.zip |
Kernel: Fix dirty page map bitmap
We also need to check against the new lazy allocation page
when generating the dirty page bitmap.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index ab9de86c01..5739287656 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -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'); |