[lkml]   [1998]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kswapd's priority

    On Fri, 26 Jun 1998, Rik van Riel wrote:

    > There's only one problem with that: tasks don't wait for
    > memory. If the memory's there they grab it, otherwise they
    > try to free some theirselves; and if that fails, they die.

    take a look at rw_swap_page(). If served with wait==1, it does wait for
    swapout to finish. When a process is sleeping there, it _is_ waiting for
    kswapd too (kswapd is probably busy trying to free some pages as well).
    But yes, the information on what the relationship between kernel thread's
    action and processes is is not direct, and in some cases even impossible
    to get.

    -- mingo

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

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