]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: LPAE: Invalidate the TLB before freeing the PMD
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Nov 2011 17:30:29 +0000 (17:30 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 8 Dec 2011 10:30:40 +0000 (10:30 +0000)
commit1144fd43be1e2782c0351062c26ec0fd71d48cd7
treedc43f5eff07e385f3943a9e99766a68e8ebb33b9
parentdee2ec46c1dcbe2e046b4a6dd3889060199b5ea5
ARM: LPAE: Invalidate the TLB before freeing the PMD

Similar to the PTE freeing, this patch introduced __pmd_free_tlb() which
invalidates the TLB before freeing a PMD page. This is needed because on
newer processors the entry in the upper page table may be cached by the
TLB and point to random data after the PMD has been freed.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/tlb.h