mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
VM: Don't remap each Region page twice in page_in().
page_in_from_inode() will map the page after reading it from disk, so we don't need to remap it once again.
This commit is contained in:
parent
6cabd34b93
commit
ba58b4617d
Notes:
sideshowbarker
2024-07-19 13:48:29 +09:00
Author: https://github.com/awesomekling
Commit: ba58b4617d
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ bool Region::page_in()
|
|||
bool success = MM.page_in_from_inode(*this, i);
|
||||
if (!success)
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
MM.remap_region_page(*this, i, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue