]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Feb 2017 09:02:40 +0000 (20:02 +1100)
commitf4894b80b1ddfef00d4d2e5c58613ccef358a1b2
tree2e9fd26b7f3af5fe021b8d4e21bbc58c40d10540
parentca94573b9c69d224e50e1084a2776772f4ea030d
powerpc/mm/radix: Use ptep_get_and_clear_full when clearing pte for full mm

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>
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/book3s/64/radix.h