[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: VM subsystem bug in 2.4.0 ?

    On Mon, 8 Jan 2001, Rik van Riel wrote:
    > We need a check in deactivate_page() to prevent the kernel
    > from moving pages from locked shared memory segments to the
    > inactive_dirty list.
    > Christoph? Linus?

    The only solution I see is something like a "active_immobile" list, and
    add entries to that list whenever "writepage()" returns 1 - instead of
    just moving them to the active list.

    Seems to be a simple enough change. The main worry would be getting the
    pages _off_ such a list: anything that unlocks a shared memory segment
    (can you even do that? If the only way to unlock is to remove, we have no
    problems) would have to have a special function to move all pages from the
    immobile list back to the active list (and then they'd get moved back if
    they were for another segment that is still locked).


    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 12:52    [W:0.019 / U:25.160 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site