summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2016-02-24 09:51:10 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-03 13:36:21 (GMT)
commitf29d4d7810d7fd61442371cd68957e1d37ed79bb (patch)
tree2db4d5b891ce6fcab4e9eb630cbf684b593d3105 /mm
parent21ebbedaddf25a35a70fedc001ba7e5f5b9129bc (diff)
downloadlinux-f29d4d7810d7fd61442371cd68957e1d37ed79bb.tar.xz
KVM: page track: introduce kvm_slot_page_track_{add,remove}_page
These two functions are the user APIs: - kvm_slot_page_track_add_page(): add the page to the tracking pool after that later specified access on that page will be tracked - kvm_slot_page_track_remove_page(): remove the page from the tracking pool, the specified access on the page is not tracked after the last user is gone Both of these are called under the protection both of mmu-lock and kvm->srcu or kvm->slots_lock Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions