mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]>
This commit is contained in:
parent
4c85ce522f
commit
62dbec78be
2 changed files with 19 additions and 35 deletions
|
|
@ -78,11 +78,9 @@ static inline void tlb_finish_mmu(struct mmu_gather *mp, unsigned long start, un
|
|||
{
|
||||
tlb_flush_mmu(mp);
|
||||
|
||||
if (mp->fullmm) {
|
||||
if (CTX_VALID(mp->mm->context))
|
||||
do_flush_tlb_mm(mp->mm);
|
||||
if (mp->fullmm)
|
||||
mp->fullmm = 0;
|
||||
} else
|
||||
else
|
||||
flush_tlb_pending();
|
||||
|
||||
/* keep the page table cache within bounds */
|
||||
|
|
|
|||
Loading…
Reference in a new issue