From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 3 Feb 2007 10:14:02 +1100 From: David Chinner Subject: Re: [PATCH] mm: remove global locks from mm/highmem.c Message-ID: <20070202231402.GA33919298@melbourne.sgi.com> References: <20070128142925.df2f4dce.akpm@osdl.org> <1170063848.6189.121.camel@twins> <45BE9FE8.4080603@mbligh.org> <20070129174118.0e922ab3.akpm@osdl.org> <45BEA41A.6020209@mbligh.org> <20070129181557.d4d17dd0.akpm@osdl.org> <20070131004436.GS44411608@melbourne.sgi.com> <20070130171132.7be3b054.akpm@osdl.org> <20070131032224.GV44411608@melbourne.sgi.com> <20070202120511.GA25714@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070202120511.GA25714@infradead.org> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Hellwig , David Chinner , Andrew Morton , "Martin J. Bligh" , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ingo Molnar List-ID: On Fri, Feb 02, 2007 at 12:05:11PM +0000, Christoph Hellwig wrote: > On Wed, Jan 31, 2007 at 02:22:24PM +1100, David Chinner wrote: > > > Yup. Even better, use clear_highpage(). > > > > For even more goodness, clearmem_highpage_flush() does exactly > > the right thing for partial page zeroing ;) > > Note that there are tons of places in buffer.c that could use > clearmem_highpage_flush(). See the so far untested patch below: Runs through XFSQA just fine. Looks good to me, Christoph. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group -- 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