]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc/mm: update radix__pte_update to not do full mm tlb flush
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 28 Nov 2016 06:17:03 +0000 (11:47 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 Nov 2016 11:45:12 +0000 (22:45 +1100)
commite58d1cf24309b3b58c7cff7ea1f873e498fdaa39
treeeb3fa714a11b854b1771f87b660ea69d518c27f8
parentb3603e174fc81598e8b060d5e9aafe19ee6e65cf
powerpc/mm: update radix__pte_update to not do full mm tlb flush

When we are updating a pte, we just need to flush the tlb mapping
that pte. Right now we do a full mm flush because we don't track page
size. Now that we have page size details in pte use that to do the
optimized flush

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/radix.h