diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-12-20 16:49:04 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-01-31 21:59:50 +1100 |
commit | 639e459768845924705933db9142baef545ff5fc (patch) | |
tree | cc3911410230a47dcb5a7675da270d0ba1ea15ce /lib/sort.c | |
parent | f98a8bf9ee201b7e22fc05e27150b1e481d4949f (diff) |
KVM: PPC: Book3S HV: Create kvmppc_unmap_hpte_helper()
The kvm_unmap_rmapp() function, called from certain MMU notifiers, is used
to force all guest mappings of a particular host page to be set ABSENT, and
removed from the reverse mappings.
For HPT resizing, we will have some cases where we want to set just a
single guest HPTE ABSENT and remove its reverse mappings. To prepare with
this, we split out the logic from kvm_unmap_rmapp() to evict a single HPTE,
moving it to a new helper function.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions