Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory

From: Ulrich Drepper
Date: Mon May 07 2007 - 00:53:51 EST


Rik van Riel wrote:
It's trivial to merge the MADV_FREE #defines into the kernel
though, and aliasing MADV_FREE to MADV_DONTNEED for the time
being is a one-liner - just an extra constant into the big
switch statement in sys_madvise().

Until the semantics of the implementation is cut into stone by having it in the kernel I'll not start using it.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/