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:
c139a59
)
sh: Use local TLB flush for get_mmu_context() ASID exhaustion.
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 Aug 2009 08:24:40 +0000
(17:24 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 Aug 2009 08:24:40 +0000
(17:24 +0900)
When get_mmu_context() runs out of new ASIDs it flushes the TLB and
wraps around. Despite the fact the ASIDs are tracked per-CPU, a global
TLB flush was being used. Switch this over to a local one, as matches
the intent.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/mmu_context.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/mmu_context.h
b/arch/sh/include/asm/mmu_context.h
index 67d8946db19343bd673caeeb839aa1a9f231b8fe..41080b173a7abf4cae0b37f100051434cd26e336 100644
(file)
--- a/
arch/sh/include/asm/mmu_context.h
+++ b/
arch/sh/include/asm/mmu_context.h
@@
-69,7
+69,7
@@
static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu)
* We exhaust ASID of this version.
* Flush all TLB and start new cycle.
*/
- flush_tlb_all();
+
local_
flush_tlb_all();
#ifdef CONFIG_SUPERH64
/*
This page took
0.025279 seconds
and
5
git commands to generate.