On Wed, Dec 12, 2001 at 02:51:44PM -0500, der Mouse wrote:
> Isn't that what madvise(MADV_FREE) is for?
MADV_FREE doesn't clean the pages if they are dirty. If you want the
dirty pages to be cleaned, you need to use MADV_DONTNEED.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>