From: David Daney <ddaney@caviumnetworks.com>
To: Maksim Rayskiy <maksim.rayskiy@gmail.com>
Cc: linux-mips <linux-mips@linux-mips.org>,
"Kevin D. Kissell" <kevink@paralogos.com>,
Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH RESEND] MIPS: Add local_flush_tlb_all_mm to clear all mm contexts on calling cpu
Date: Wed, 29 Dec 2010 11:25:34 -0800 [thread overview]
Message-ID: <4D1B8B2E.7030601@caviumnetworks.com> (raw)
In-Reply-To: <AANLkTimKSauYdv-cfSmc3cxQo3-YE4sOpLQ7sepwJf==@mail.gmail.com>
On 12/29/2010 11:04 AM, Maksim Rayskiy wrote:
> From 9a03661a40407e14ee75295f5541f371f0a7cdda Mon Sep 17 00:00:00 2001
> From: Maksim Rayskiy<maksim.rayskiy@gmail.com>
> 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@gmail.com>
> ---
> =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
next prev parent reply other threads:[~2010-12-29 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-29 19:04 [PATCH RESEND] MIPS: Add local_flush_tlb_all_mm to clear all mm contexts on calling cpu Maksim Rayskiy
2010-12-29 19:25 ` David Daney [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-29 20:21 Maksim Rayskiy
2010-12-29 20:41 ` Sergei Shtylyov
2010-12-29 23:18 ` Maksim Rayskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D1B8B2E.7030601@caviumnetworks.com \
--to=ddaney@caviumnetworks.com \
--cc=kevink@paralogos.com \
--cc=linux-mips@linux-mips.org \
--cc=maksim.rayskiy@gmail.com \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox