summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>2013-01-08 11:44:48 +0100
committerGleb Natapov <gleb@redhat.com>2013-01-14 10:13:47 +0100
commitb99db1d35295cb26b61a1c665f542504110b0ac3 (patch)
tree57c9fc5a8189e1ec73259701b6ff6296e1983c18 /Documentation/virtual
parentKVM: MMU: Remove unused parameter level from __rmap_write_protect() (diff)
downloadlinux-b99db1d35295cb26b61a1c665f542504110b0ac3.tar.xz
linux-b99db1d35295cb26b61a1c665f542504110b0ac3.zip
KVM: MMU: Make kvm_mmu_slot_remove_write_access() rmap based
This makes it possible to release mmu_lock and reschedule conditionally in a later patch. Although this may increase the time needed to protect the whole slot when we start dirty logging, the kernel should not allow the userspace to trigger something that will hold a spinlock for such a long time as tens of milliseconds: actually there is no limit since it is roughly proportional to the number of guest pages. Another point to note is that this patch removes the only user of slot_bitmap which will cause some problems when we increase the number of slots further. Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions