Re: [PATCH] mm: Fix the TLB range flushed when __tlb_remove_page()runs out of slots

From: Andrew Morton
Date: Mon Jul 29 2013 - 19:47:07 EST


On Mon, 29 Jul 2013 16:41:06 -0700 (PDT) David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx>
> Date: Wed, 29 May 2013 18:26:13 +0530
>
> > zap_pte_range loops from @addr to @end. In the middle, if it runs out of
> > batching slots, TLB entries needs to be flushed for @start to @interim,
> > NOT @interim to @end.
> >
> > Since ARC port doesn't use page free batching I can't test it myself but
> > this seems like the right thing to do.
> > Observed this when working on a fix for the issue at thread:
> > http://www.spinics.net/lists/linux-arch/msg21736.html
> >
> > Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>
>
> As this bug can cause pretty serious memory corruption, I'd like to
> see this submitted to -stable.

Greg, e6c495a96ce02574e765d5140039a64c8d4e8c9e from mainline, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/