From: Avi Kivity Date: Thu, 3 Apr 2008 09:02:21 +0000 (+0300) Subject: KVM: MMU: Only mark_page_accessed() if the page was accessed by the guest X-Git-Tag: v2.6.26-rc1~1028^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcd6dbac9267c1c06a205ad8bb4bd027c0ace7f7;p=pandora-kernel.git 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: Avi Kivity --- Reading git-diff-tree failed