[lkml]   [2000]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] 2.2.1{3,4,5} VM fix
    On Fri, 21 Jan 2000, Andrea Arcangeli wrote:

    > Anyway I think to see the problem described by Rik and actually I
    > think it can be fixed by killing the useless polling of 1 second
    > and replacing it with an unconiditional pre-wakeup of kswapd when
    > GFP touch the freepages.high watermark. This will in turn should
    > also help performances and it will try to free the cache from
    > inside kswapd before a process have to free it itself.

    It will damage performance. We want the hysteresis provided
    by freepages.{min,low,high}...

    Between .low and .high the one-second poll should do
    the trick, making sure that all allocations are done
    without delay.

    Just around .low kswapd should be unconditionally
    woken up.

    Between .min and .low kswapd should be woken and
    __GFP_WAIT allocations should wait.

    Below .min only GFP_ATOMIC and PF_MEMALLOC allocations
    should be allowed.

    This is how the priorities have been intended
    from the start on (except that we didn't have the
    waiting part in the beginning, this needed fixing


    The Internet is not a network of computers. It is a network
    of people. That is its real strength.

    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:56    [W:0.043 / U:1.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site