[lkml]   [2004]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] oom_pardon, aka don't kill my xlock
    On Mon, Sep 27, 2004 at 02:12:26PM +0100, Jon Masters wrote:
    > Hi all,
    > Just out of interest then...suppose we've got a loopback swap device
    > and that we can extend this by creating a new file or extending
    > somehow the existing one.
    > What would be wrong with having the page reclaim algorithms use one of
    > the low memory watermarks as a trigger to call in to userspace to
    > extend the swap available if possible? This is probably what Microsoft
    > et al do with their "Windows is extending your virtual memory, yada
    > yada blah blah". Comments? Already done?

    You dont to change kernel code for that - make a script to monitor
    swap usage, as soon as it gets below a given watermark, you swapon
    whatever swapfile you want.

    Makes sense yes.

    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: 2005-03-22 14:06    [W:0.021 / U:0.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site