Mao Bibo 84595f450a MIPS: smp: optimization for flush_tlb_mm when exiting
When process exits or execute new binary, it will call function
exit_mmap with old mm, there is such function call trace:
  exit_mmap(struct mm_struct *mm)
      --> tlb_finish_mmu(&tlb, 0, -1)
         --> arch_tlb_finish_mmu(tlb, start, end, force)
	    --> tlb_flush_mmu(tlb);
               --> tlb_flush(struct mmu_gather *tlb)
                  --> flush_tlb_mm(tlb->mm)

It is not necessary to flush tlb since oldmm is not used anymore
by the process, there is similar operations on IA64/ARM64 etc,
this patch adds such optimization on MIPS.

Signed-off-by: Mao Bibo <maobibo@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-05-12 17:56:21 +02:00
..
2022-05-04 22:22:59 +02:00
2022-01-17 08:07:57 +02:00
2022-05-04 22:22:59 +02:00
2022-04-01 10:19:03 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2021-01-22 11:40:00 +01:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-03-28 12:50:50 -07:00
2021-10-18 18:09:54 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-02-07 18:31:57 +01:00
2022-03-01 10:07:22 +01:00