lkml.org 
[lkml]   [1999]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: locking question: do_mmap(), do_munmap()
    On Sun, 10 Oct 1999, Alexander Viro wrote:

    >I still think that just keeping a cyclic list of pages, grabbing from that
    >list before taking mmap_sem _if_ we have a chance for blocking
    >__get_free_page(), refilling if the list is empty (prior to down()) and
    >returning the page into the list if we didn't use it may be the simplest
    >way.

    I can't understand very well your plan.

    We just have a security pool. We just block only when the pool become low.
    To refill our just existing pool we have to walk the vmas. That's the
    problem in first place.

    Andrea


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:0.019 / U:90.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site