projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f850548
)
MIPS: Invalidate old TLB mappings when updating huge page PTEs.
author
David Daney
<ddaney@caviumnetworks.com>
Wed, 27 Apr 2011 23:39:28 +0000
(16:39 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 10 May 2011 17:15:26 +0000
(18:15 +0100)
Without this, stale Icache or TLB entries may be used.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
https://patchwork.linux-mips.org/patch/2318/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/hugetlb.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/include/asm/hugetlb.h
b/arch/mips/include/asm/hugetlb.h
index f5e856015329cbeda2d8e33303f2baf6817ab804..c565b7c3f0b5b071833c751e4edddfb61aba84f4 100644
(file)
--- a/
arch/mips/include/asm/hugetlb.h
+++ b/
arch/mips/include/asm/hugetlb.h
@@
-70,6
+70,7
@@
static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
unsigned long addr, pte_t *ptep)
{
+ flush_tlb_mm(vma->vm_mm);
}
static inline int huge_pte_none(pte_t pte)