From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: a plea for mincore()/madvise() References: From: Christoph Rohland Date: 11 Mar 2000 15:14:44 +0100 In-Reply-To: Chuck Lever's message of "Fri, 10 Mar 2000 19:39:03 -0500 (EST)" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Chuck Lever Cc: Linus Torvalds , James Manning , linux-mm@kvack.org List-ID: Chuck Lever writes: > > I'd like MADV_DONTNEED to just clear the page tables. If it was a private > > mapping, all the modifications get lost. If it was a shared mapping, > > modifications since the last msync() may or may not get lost. > > i'll create a patch against 2.3.51-pre3 for madvise() and post it on the > mm list before sunday. then we can argue about something we've both seen > :) > > let me think some more about DONTNEED. at the face of it, i agree with > your suggestion, but i may just exclude it from the patch until there is > more discussion here. As stated before I would be very interested in a call (perhaps MADV_DONTNEED) which throws away shared (anon) memory pages. Greetings Christoph -- 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.eu.org/Linux-MM/