mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
Kernel: Put debug spam about already-paged-in inode pages behind #ifdef
This commit is contained in:
parent
6cd9c020ea
commit
179158bc97
Notes:
sideshowbarker
2024-07-19 12:35:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/179158bc974
@ -352,7 +352,9 @@ bool MemoryManager::page_in_from_inode(Region& region, unsigned page_index_in_re
|
|||||||
cli();
|
cli();
|
||||||
|
|
||||||
if (!vmo_page.is_null()) {
|
if (!vmo_page.is_null()) {
|
||||||
|
#ifdef PAGE_FAULT_DEBUG
|
||||||
dbgprintf("MM: page_in_from_inode() but page already present. Fine with me!\n");
|
dbgprintf("MM: page_in_from_inode() but page already present. Fine with me!\n");
|
||||||
|
#endif
|
||||||
remap_region_page(region, page_index_in_region);
|
remap_region_page(region, page_index_in_region);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user