linux-mips
[Top] [All Lists]

Re: [PATCH 2/2 v2] MIPS: Close races in TLB modify handlers.

To: David Daney <david.daney@cavium.com>
Subject: Re: [PATCH 2/2 v2] MIPS: Close races in TLB modify handlers.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 27 Jul 2011 08:06:19 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20110722101117.GA21860@linux-mips.org>
References: <1309908886-1624-1-git-send-email-david.daney@cavium.com> <1309908886-1624-2-git-send-email-david.daney@cavium.com> <20110721135525.GB27341@linux-mips.org> <20110722101117.GA21860@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Jul 22, 2011 at 11:11:17AM +0100, Ralf Baechle wrote:

> > Looks good and nobody else has complained but backporting to <= 2.6.37 is
> > gonna be ugly.  I either have to resolve huge conflicts or alternatively
> > backport tons of other tlbex.c patches.  The latter is less risky and
> > time consuming and will provide additional benefit so I'll do it.  Just
> > be prepared for a storm on the linux-git list.
> 
> It also broke the build for the !defined(CONFIG_MIPS_PGD_C0_CONTEXT) case.

Patch applied but I've decieded not to backport it to < 2.6.34; the
amount of other patches that this fix relies on is just way too big.

On the positive side, those who haven't hit the race in past will probabbly
be able to get away for until they upgrade - and this fix really is a
reason to upgrade.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>