summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2014-08-13 11:01:59 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-13 12:20:39 +0400
commit629149fae478f0ac6bf705a535708b192e9c6b59 (patch)
tree2ffdc967eac8e67df163da7c53c15799697455e1 /arch/arm
parentfa1f8ae80f8bb996594167ff4750a0b0a5a5bb5d (diff)
downloadlinux-629149fae478f0ac6bf705a535708b192e9c6b59.tar.xz
powerpc/thp: Invalidate old 64K based hash page mapping before insert of 4k pte
If we changed base page size of the segment, either via sub_page_protect or via remap_4k_pfn, we do a demote_segment which doesn't flush the hash table entries. We do a lazy hash page table flush for all mapped pages in the demoted segment. This happens when we handle hash page fault for these pages. We use _PAGE_COMBO bit along with _PAGE_HASHPTE to indicate whether a pte is backed by 4K hash pte. If we find _PAGE_COMBO not set on the pte, that implies that we could possibly have older 64K hash pte entries in the hash page table and we need to invalidate those entries. Handle this correctly for 16M pages CC: <stable@vger.kernel.org> 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/arm')
0 files changed, 0 insertions, 0 deletions