On Thu, 2019-01-31 at 10:30:22 UTC, Peter Xu wrote:
> 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.
> 
> CC: Benjamin Herrenschmidt <[email protected]>
> CC: Paul Mackerras <[email protected]>
> CC: Michael Ellerman <[email protected]>
> CC: Alistair Popple <[email protected]>
> CC: Alexey Kardashevskiy <[email protected]>
> CC: Mark Hairgrove <[email protected]>
> CC: Balbir Singh <[email protected]>
> CC: David Gibson <[email protected]>
> CC: Andrea Arcangeli <[email protected]>
> CC: Jerome Glisse <[email protected]>
> CC: Jason Wang <[email protected]>
> CC: [email protected]
> CC: [email protected]
> Signed-off-by: Peter Xu <[email protected]>
> Reviewed-by: Andrea Arcangeli <[email protected]>
> Reviewed-by: Alistair Popple <[email protected]>
> Reviewed-by: Balbir Singh <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1b58a975be36994a572ae3b3fb3e0232

cheers

Reply via email to