lkml.org 
[lkml]   [1998]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: New syscall (rough draft), swap_out_pid()
    On Tue, 17 Mar 1998, Balaji Srinivasan wrote:

    > I dont think this would work as you expect it to...as swap_out_process
    > does not swap_out the whole process, but just one page...am I wrong here?

    No, your completely right... What would work is:
    while (p->mm->rss) {
    int gfp = GFP_SWAPOUT_NOW_YOU_DAMNIT;
    swapout_process(p, gfp);
    }

    Or something like this anyway :-)

    Rik.
    +-------------------------------------------+--------------------------+
    | Linux: - LinuxHQ MM-patches page | Scouting webmaster |
    | - kswapd ask-him & complain-to guy | Vries cubscout leader |
    | http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
    +-------------------------------------------+--------------------------+


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

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