diff options
author | David S. Miller <davem@davemloft.net> | 2005-11-07 17:09:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-07 17:09:58 -0500 |
commit | 62dbec78be652c28f63ad5eda3d01c244c916040 (patch) | |
tree | 2f1e77d3f3a645dd4bfc36ef80bb60a9a2161ad8 /include/asm-sparc64 | |
parent | 4c85ce522fc4bf1b8fcd6255fadc11cfb75773df (diff) |
[SPARC64] mm: Do not flush TLB mm in tlb_finish_mmu()
It isn't needed any longer, as noted by Hugh Dickins.
We still need the flush routines, due to the one remaining
call site in hugetlb_prefault_arch_hook(). That can be
eliminated at some later point, however.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/tlb.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-sparc64/tlb.h b/include/asm-sparc64/tlb.h index 66138d959df5..1eda17954f39 100644 --- a/include/asm-sparc64/tlb.h +++ b/include/asm-sparc64/tlb.h | |||
@@ -78,11 +78,9 @@ static inline void tlb_finish_mmu(struct mmu_gather *mp, unsigned long start, un | |||
78 | { | 78 | { |
79 | tlb_flush_mmu(mp); | 79 | tlb_flush_mmu(mp); |
80 | 80 | ||
81 | if (mp->fullmm) { | 81 | if (mp->fullmm) |
82 | if (CTX_VALID(mp->mm->context)) | ||
83 | do_flush_tlb_mm(mp->mm); | ||
84 | mp->fullmm = 0; | 82 | mp->fullmm = 0; |
85 | } else | 83 | else |
86 | flush_tlb_pending(); | 84 | flush_tlb_pending(); |
87 | 85 | ||
88 | /* keep the page table cache within bounds */ | 86 | /* keep the page table cache within bounds */ |