projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30e45e
)
ARM: pgtable: remove L2 cache flushes for SMP page table bring-up
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 21 Nov 2010 11:30:36 +0000
(11:30 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 11:05:33 +0000
(11:05 +0000)
The MMU is always configured to read page tables from the L2 cache
so there's little point flushing them out of the L2 cache back to
RAM. Remove these flushes.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/smp.c
b/arch/arm/kernel/smp.c
index 8c1959590252e7161f1da38497eddba9b0538afb..46313805f4304ba1919e07124004d57b27ed12f9 100644
(file)
--- a/
arch/arm/kernel/smp.c
+++ b/
arch/arm/kernel/smp.c
@@
-85,7
+85,6
@@
static inline void identity_mapping_add(pgd_t *pgd, unsigned long start,
pmd[1] = __pmd(addr | prot);
addr += SECTION_SIZE;
flush_pmd_entry(pmd);
- outer_clean_range(__pa(pmd), __pa(pmd + 1));
}
}
@@
-100,7
+99,6
@@
static inline void identity_mapping_del(pgd_t *pgd, unsigned long start,
pmd[0] = __pmd(0);
pmd[1] = __pmd(0);
clean_pmd_entry(pmd);
- outer_clean_range(__pa(pmd), __pa(pmd + 1));
}
}
This page took
0.025284 seconds
and
5
git commands to generate.