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
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:40 +01:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-03-01 10:07:22 +01:00
2018-10-31 08:54:16 -07:00
2022-02-23 13:08:30 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-05-04 22:22:59 +02:00
2022-03-01 10:07:22 +01:00
2021-02-15 12:23:54 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-22 09:35:49 +01:00
2022-02-22 09:35:49 +01:00
2022-02-22 09:35:49 +01:00
2022-02-22 09:35:49 +01:00
2022-03-28 17:29:53 -07:00
2020-05-15 14:53:19 +02:00
2020-05-22 09:13:32 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00