commit | 14f4760562e41d50817d56b42c821d70ad10b483 | [log] [tgz] |
---|---|---|
author | Yu Zhao <yuzhao@google.com> | Wed Mar 30 13:38:09 2016 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Apr 01 12:10:10 2016 +0200 |
tree | a5883be4834d815db85463c1218b20da509b1830 | |
parent | 14ebda3394fd3e5388747e742e510b0802a65d24 [diff] |
kvm: set page dirty only if page has been writable In absence of shadow dirty mask, there is no need to set page dirty if page has never been writable. This is a tiny optimization but good to have for people who care much about dirty page tracking. Signed-off-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>