Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fcd6dbac authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Only mark_page_accessed() if the page was accessed by the guest



If the accessed bit is not set, the guest has never accessed this page
(at least through this spte), so there's no need to mark the page
accessed.  This provides more accurate data for the eviction algortithm.

Noted by Andrea Arcangeli.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent d39f13b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment