Kernel: Put debug spam about already-paged-in inode pages behind #ifdef

This commit is contained in:
Andreas Kling 2019-08-19 17:29:52 +02:00
parent 6cd9c020ea
commit 179158bc97
Notes: sideshowbarker 2024-07-19 12:35:42 +09:00

View File

@ -352,7 +352,9 @@ bool MemoryManager::page_in_from_inode(Region& region, unsigned page_index_in_re
cli();
if (!vmo_page.is_null()) {
#ifdef PAGE_FAULT_DEBUG
dbgprintf("MM: page_in_from_inode() but page already present. Fine with me!\n");
#endif
remap_region_page(region, page_index_in_region);
return true;
}