diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2016-02-24 17:51:10 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-03 14:36:21 +0100 |
commit | f29d4d7810d7fd61442371cd68957e1d37ed79bb (patch) | |
tree | 2db4d5b891ce6fcab4e9eb630cbf684b593d3105 /arch/openrisc | |
parent | 21ebbedaddf25a35a70fedc001ba7e5f5b9129bc (diff) | |
download | linux-f29d4d7810d7fd61442371cd68957e1d37ed79bb.tar.bz2 |
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 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions