Re: [PATCH RESEND] MIPS: Add local_flush_tlb_all_mm to clear all mm contexts on calling cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/29/2010 11:04 AM, Maksim Rayskiy wrote:
 From 9a03661a40407e14ee75295f5541f371f0a7cdda Mon Sep 17 00:00:00 2001
From: Maksim Rayskiy<maksim.rayskiy@xxxxxxxxx>
Date: Tue, 30 Nov 2010 11:34:31 -0800
Subject: [PATCH] MIPS: Add local_flush_tlb_all_mm to clear all mm
contexts on calling cpu

When hotplug removing a cpu, all mm context TLB entries must be cleared
to avoid ASID conflict when cpu is restarted.
New functions local_flush_tlb_all_mm() and all-cpu version
flush_tlb_all_mm() are added.
To function properly, local_flush_tlb_all_mm() must be called when
mm_cpumask for all mm context on given cpu is cleared.

Signed-off-by: Maksim Rayskiy<maksim.rayskiy@xxxxxxxxx>
---
=A0arch/mips/include/asm/tlbflush.h | =A0 =A04 ++++
=A0arch/mips/kernel/smp.c =A0 =A0 =A0 =A0 =A0 | =A0 10 ++++++++++
=A0arch/mips/mm/tlb-r4k.c =A0 =A0 =A0 =A0 =A0 | =A0 12 ++++++++++++
=A03 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/tlbflush.h b/arch/mips/include/asm/t=
lbflush.h
index 86b21de..d7b75e6 100644
--- a/arch/mips/include/asm/tlbflush.h
+++ b/arch/mips/include/asm/tlbflush.h
@@ -8,12 +8,14 @@
=A0*
=A0* =A0- flush_tlb_all() flushes all processes TLB entries
=A0* =A0- flush_tlb_mm(mm) flushes the specified mm context TLB entries
+ * =A0- flush_tlb_all_mm() flushes all mm context TLB entries
[...]

Your mailer did an excellent job of mangling the patch.

Can you resend it but without the Content-Transfer-Encoding: QUOTED-PRINTABLE bit?

David Daney



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux