forked from intel/libipt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split pt_image_read() into hot and cold parts, where the hot part loops over already mapped sections in the image's LRU cache. When encountering an unmapped section, we switch to the cold part where we map and unmap sections before reading. Change-Id: I7d818c45193afc2b5e442424a1ca80eb941cb7b3 Signed-off-by: Markus Metzger <[email protected]>
- Loading branch information
1 parent
4531fa7
commit af5d7d0
Showing
1 changed file
with
62 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters