git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c5fd6bc
)
Revert "arm: mm: hugetlb WT hack"
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 1 Jun 2014 22:24:28 +0000
(
01:24
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 11 Jul 2014 22:37:14 +0000
(
01:37
+0300)
This reverts commit
f89d2c1ea0e0d14122ad3d480da6e4a9917111e4
.
DraStic suffers performance degradation with WT, it needs to be
configurable. We'll use different hack on madvise().
arch/arm/mm/mmu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/mmu.c
b/arch/arm/mm/mmu.c
index
1ca732f
..
0a5191e
100644
(file)
--- a/
arch/arm/mm/mmu.c
+++ b/
arch/arm/mm/mmu.c
@@
-572,12
+572,6
@@
static void __init build_mem_type_table(void)
arm_hugepmdprotval = mem_types[MT_MEMORY].prot_sect | PMD_SECT_AP_READ
| PMD_SECT_nG;
arm_hugepmdprotval = mem_types[MT_MEMORY].prot_sect | PMD_SECT_AP_READ
| PMD_SECT_nG;
-
- /* HACK: make huge pages WT
- * XXX: mm will not know nothing about this..
- * FIXME: should only do it on Cortex-A8 or below */
- arm_hugepmdprotval &= ~(PMD_SECT_WB | PMD_SECT_TEX(1));
- arm_hugepmdprotval |= PMD_SECT_WT;
#endif
}
#endif
}