diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-24 04:52:23 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-01 03:44:53 -0400 |
commit | bcc4f2bc5026633198c0f8b7dd8b0e5e15de5c9d (patch) | |
tree | f3bd16275a0f3adda8cd1f7ce37fe1764dd06c0c /tools/perf/scripts/python | |
parent | 68be1306caea8948738cab04014ca4506b590d38 (diff) |
KVM: MMU: mark page dirty in make_spte
This simplifies set_spte, which we want to remove, and unifies code
between the shadow MMU and the TDP MMU. The warning will be added
back later to make_spte as well.
There is a small disadvantage in the TDP MMU; it may unnecessarily mark
a page as dirty twice if two vCPUs end up mapping the same page twice.
However, this is a very small cost for a case that is already rare.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions