diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-24 11:52:23 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-01 10:44:53 +0300 |
commit | bcc4f2bc5026633198c0f8b7dd8b0e5e15de5c9d (patch) | |
tree | f3bd16275a0f3adda8cd1f7ce37fe1764dd06c0c /arch/.gitignore | |
parent | 68be1306caea8948738cab04014ca4506b590d38 (diff) | |
download | linux-bcc4f2bc5026633198c0f8b7dd8b0e5e15de5c9d.tar.xz |
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 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions