From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4612BB44.3060100@redhat.com> Date: Tue, 03 Apr 2007 16:38:28 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: missing madvise functionality References: <46128051.9000609@redhat.com> <46128CC2.9090809@redhat.com> <20070403172841.GB23689@one.firstfloor.org> <20070403125903.3e8577f4.akpm@linux-foundation.org> <4612B645.7030902@redhat.com> <20070403202937.GE355@devserv.devel.redhat.com> In-Reply-To: <20070403202937.GE355@devserv.devel.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Jakub Jelinek Cc: Ulrich Drepper , Andrew Morton , Andi Kleen , Linux Kernel , linux-mm@kvack.org, Hugh Dickins List-ID: Jakub Jelinek wrote: > My guess is that all the page zeroing is pretty expensive as well and > takes significant time, but I haven't profiled it. I'm pretty sure that page freeing, reallocating and zeroing is more expensive than just letting the page sit there and only reclaim it lazily when we need the memory. I'll try to whip up a patch this week. -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. -- 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