]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc/mm/radix: Use ptep_get_and_clear_full when clearing pte for full mm
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 9 Feb 2017 02:58:20 +0000 (08:28 +0530)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 24 Feb 2017 14:18:36 +0000 (08:18 -0600)
commitfb447669121e4513840e20ce9f85d00f3b91c659
treec60b3dea3c186f615112b59a5cc6ee6471fb3ebe
parentd6ee8dc51deb714ee8a104eb4e8377e6254d3b2d
powerpc/mm/radix: Use ptep_get_and_clear_full when clearing pte for full mm

BugLink: http://bugs.launchpad.net/bugs/1667116
This helps us to do some optimization for application exit case, where we can
skip the DD1 style pte update sequence.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
(cherry picked from linux-next commit f4894b80b1ddfef00d4d2e5c58613ccef358a1b2)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/book3s/64/radix.h