From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx134.postini.com [74.125.245.134]) by kanga.kvack.org (Postfix) with SMTP id 2B9F06B0031 for ; Mon, 29 Jul 2013 19:47:01 -0400 (EDT) Date: Mon, 29 Jul 2013 16:46:58 -0700 From: Andrew Morton Subject: Re: [PATCH] mm: Fix the TLB range flushed when __tlb_remove_page() runs out of slots Message-Id: <20130729164658.0dfa1ff602bc131fe2ec0b1b@linux-foundation.org> In-Reply-To: <20130729.164106.943996066712571180.davem@davemloft.net> References: <1369832173-15088-1-git-send-email-vgupta@synopsys.com> <20130729.164106.943996066712571180.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: David Miller Cc: Vineet.Gupta1@synopsys.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mgorman@suse.de, hughd@google.com, riel@redhat.com, rientjes@google.com, peterz@infradead.org, linux-arch@vger.kernel.org, catalin.marinas@arm.com, jcmvbkbc@gmail.com, Greg KH , stable@vger.kernel.org On Mon, 29 Jul 2013 16:41:06 -0700 (PDT) David Miller wrote: > From: Vineet Gupta > 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 > > 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org