[lkml]   [1998]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 'disposable' dirty pages [was: Out Of Memory in v. 2.1]
    > portability is not an issue, we controll all the platforms and libc too. 
    > It might be hard to implement it, but thats not the question. The question
    > is, how much memory will this free up, and how hard would it be to _use_
    > this in applications.

    The interface doesnt seem hard

    mprotect(buf,len, MDISCARDABLE)

    and then mprotect it back to something normal to use it. If the semantics
    are "COW's the zero page if discarded else gives the existing page back"
    then everything mallocish falls nicely into place.


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

     \ /
      Last update: 2005-03-22 13:44    [W:0.018 / U:16.680 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site