diff options
author | Yu Zhao <[email protected]> | 2016-03-30 13:38:09 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2016-04-01 12:10:10 +0200 |
commit | 14f4760562e41d50817d56b42c821d70ad10b483 (patch) | |
tree | a5883be4834d815db85463c1218b20da509b1830 /lib/assoc_array.c | |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions