summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorPeter Xu2019-01-31 11:30:22 +0100
committerMichael Ellerman2019-02-21 14:10:14 +0100
commit1b58a975be36994a572ae3b3fb3e023272bc299f (patch)
tree20c18cfd8773db50005b9cdfc1fb4ae476bf50bf /arch/alpha
parentMerge branch 'topic/ppc-kvm' into next (diff)
downloadkernel-qcow2-linux-1b58a975be36994a572ae3b3fb3e023272bc299f.tar.gz
kernel-qcow2-linux-1b58a975be36994a572ae3b3fb3e023272bc299f.tar.xz
kernel-qcow2-linux-1b58a975be36994a572ae3b3fb3e023272bc299f.zip
powerpc/powernv/npu: Remove redundant change_pte() hook
The change_pte() notifier was designed to use as a quick path to update secondary MMU PTEs on write permission changes or PFN changes. For KVM, it could reduce the vm-exits when vcpu faults on the pages that was touched up by KSM. It's not used to do cache invalidations, for example, if we see the notifier will be called before the real PTE update after all (please see set_pte_at_notify that set_pte_at was called later). All the necessary cache invalidation should all be done in invalidate_range() already. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Andrea Arcangeli <aarcange@redhat.com> Reviewed-by: Alistair Popple <alistair@popple.id.au> Reviewed-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions