[lkml]   [2007]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory
    Ulrich Drepper wrote:
    > Rik van Riel wrote:
    >> I think that maybe for 2.6.22 we should just alias MADV_FREE
    >> to run with the MADV_DONTNEED functionality, so that the glibc
    >> people can make the change on their side while we figure out
    >> what will be the best thing to do on the kernel side.
    > No need for that. We can later extend glibc to use MADV_FREE and fall
    > back on MADV_DONTNEED.

    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().

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-07 06:49    [W:0.019 / U:32.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site