From: Takuya Yoshikawa Date: Fri, 23 Apr 2010 08:48:35 +0000 (+0900) Subject: KVM: Remove test-before-set optimization for dirty bits X-Git-Tag: v2.6.35-rc1~436^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14769377a247d4e7b570592a090474c8a059938;p=pandora-kernel.git KVM: Remove test-before-set optimization for dirty bits As Avi pointed out, testing bit part in mark_page_dirty() was important in the days of shadow paging, but currently EPT and NPT has already become common and the chance of faulting a page more that once per iteration is small. So let's remove the test bit to avoid extra access. Signed-off-by: Takuya Yoshikawa Signed-off-by: Avi Kivity --- Reading git-diff-tree failed