From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4612C5AC.2070008@goop.org> Date: Tue, 03 Apr 2007 14:22:52 -0700 From: Jeremy Fitzhardinge 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> <20070403135154.61e1b5f3.akpm@linux-foundation.org> <4612C059.8070702@redhat.com> <4612C2B6.3010302@cosmosbay.com> In-Reply-To: <4612C2B6.3010302@cosmosbay.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Eric Dumazet Cc: Rik van Riel , Andrew Morton , Ulrich Drepper , Andi Kleen , Linux Kernel , Jakub Jelinek , linux-mm@kvack.org, Hugh Dickins List-ID: Eric Dumazet wrote: > mmap()/brk() must give fresh NULL pages, but maybe > madvise(MADV_DONTNEED) can relax this requirement (if the pages were > reclaimed, then a page fault could bring a new page with random content) Only if those pages were originally from that process. Otherwise you've got a bit of an information leak there. J -- 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