summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hugepage-hash64.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2014-11-02 16:45:28 +0100
committerBenjamin Herrenschmidt2014-12-02 04:10:11 +0100
commitd557b09800dab5dd6804e5b79324069abcf0be11 (patch)
treecb28d3966042edb834d23341d9f98bdf95c1646c /arch/powerpc/mm/hugepage-hash64.c
parentpowerpc/mm/thp: Remove code duplication (diff)
downloadkernel-qcow2-linux-d557b09800dab5dd6804e5b79324069abcf0be11.tar.gz
kernel-qcow2-linux-d557b09800dab5dd6804e5b79324069abcf0be11.tar.xz
kernel-qcow2-linux-d557b09800dab5dd6804e5b79324069abcf0be11.zip
powerpc/mm/thp: Use tlbiel if possible
If we know that user address space has never executed on other cpus we could use tlbiel. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/hugepage-hash64.c')
-rw-r--r--arch/powerpc/mm/hugepage-hash64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/hugepage-hash64.c b/arch/powerpc/mm/hugepage-hash64.c
index 1b3ad46a71b5..3a648cd363ae 100644
--- a/arch/powerpc/mm/hugepage-hash64.c
+++ b/arch/powerpc/mm/hugepage-hash64.c
@@ -95,7 +95,7 @@ int __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid,
*/
if ((old_pmd & _PAGE_HASHPTE) && !(old_pmd & _PAGE_COMBO))
flush_hash_hugepage(vsid, ea, pmdp, MMU_PAGE_64K,
- ssize);
+ ssize, local);
}
valid = hpte_valid(hpte_slot_array, index);