From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx152.postini.com [74.125.245.152]) by kanga.kvack.org (Postfix) with SMTP id 8E0156B0031 for ; Mon, 29 Jul 2013 19:41:10 -0400 (EDT) Date: Mon, 29 Jul 2013 16:41:06 -0700 (PDT) Message-Id: <20130729.164106.943996066712571180.davem@davemloft.net> Subject: Re: [PATCH] mm: Fix the TLB range flushed when __tlb_remove_page() runs out of slots From: David Miller In-Reply-To: <1369832173-15088-1-git-send-email-vgupta@synopsys.com> References: <1369832173-15088-1-git-send-email-vgupta@synopsys.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Vineet.Gupta1@synopsys.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.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 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. Thanks! -- 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