From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Ts'o Subject: Re: [PATCH] ext4 Fix setting random pages PageUptodate Date: Tue, 16 Nov 2010 15:38:54 -0500 Message-ID: <20101116203854.GA1568@thunk.org> References: <20101110152519.GA1626@arch.trippelsdorf.de> <20101110154057.GA2191@arch.trippelsdorf.de> <20101112122003.GA1572@arch.trippelsdorf.de> <20101115123846.GA30047@arch.trippelsdorf.de> <20101115195439.GA1569@arch.trippelsdorf.de> <20101116111339.GA1544@arch.trippelsdorf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Hugh Dickins , Christoph Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org To: Markus Trippelsdorf Return-path: Content-Disposition: inline In-Reply-To: <20101116111339.GA1544@arch.trippelsdorf.de> Sender: owner-linux-mm@kvack.org List-Id: linux-ext4.vger.kernel.org On Tue, Nov 16, 2010 at 12:13:39PM +0100, Markus Trippelsdorf wrote: > ext4_end_bio calls put_page and kmem_cache_free before calling > SetPageUpdate(). This can result in setting the PageUptodate bit on > random pages and causes the following BUG: Oops. Thanks muchly to you and to Hugh for discovering this. I've added this to the ext4 patch queue and will be pushing to Linus this week, for -rc3. - Ted -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org