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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Rik van Riel <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- References:
- [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Rik van Riel <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Nick Piggin <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Ulrich Drepper <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Nick Piggin <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Rik van Riel <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Ulrich Drepper <[email protected]>
- Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- From: Rik van Riel <[email protected]>
- [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- Prev by Date: Re: [00/17] Large Blocksize Support V3
- Next by Date: Re: [00/17] Large Blocksize Support V3
- Previous by thread: Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- Next by thread: Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
- Index(es):