diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 03:57:06 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 04:03:05 +0100 |
commit | 0932efe72ec89b672381d5bb73666f44a6462a5a (patch) | |
tree | eb23151e807446c5c1ce5b75277ffb65b2ad2cd5 /Kernel/DiskBackedFileSystem.cpp | |
parent | 6b88025dda05cab4526783c80269fd740312980f (diff) | |
download | serenity-0932efe72ec89b672381d5bb73666f44a6462a5a.zip |
Kernel: Actually zero-fill eagerly committed regions.
Previously, calling Region::commit() would make sure to allocate any missing
physical pages, but they would contain uninitialized data. This was very
obvious when allocating GraphicsBitmaps as they would have garbage pixels
rather than being filled with black.
The MM quickmap mechanism didn't work when operating on a non-active page
directory (which happens when we're in the middle of exec, for example.)
This patch changes quickmap to reside in the shared kernel page directory.
Also added some missing clobber lists to inline asm that I stumbled on.
Diffstat (limited to 'Kernel/DiskBackedFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions