1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:25:07 +00:00

Kernel: Remove outdated comment in MemoryManager

Regions *do* zero-fill on demand now. :^)
This commit is contained in:
Andreas Kling 2020-01-27 14:19:10 +01:00
parent c5db596c78
commit 8131875da6

View file

@ -302,7 +302,6 @@ OwnPtr<Region> MemoryManager::allocate_kernel_region(size_t size, const StringVi
else
region = Region::create_kernel_only(range, name, access, cacheable);
region->set_page_directory(kernel_page_directory());
// FIXME: It would be cool if these could zero-fill on demand instead.
if (should_commit)
region->commit();
return region;