commit | d14769377a247d4e7b570592a090474c8a059938 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Fri Apr 23 17:48:35 2010 +0900 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:19:13 2010 +0300 |
tree | fd7e0de9712a29f99962b789ab3ab70a1338087f | |
parent | 039091875ce4629d83db64c055528e7b86337d50 [diff] |
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 <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>