[lkml]   [2001]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Prevent OOM from killing init
    Alan Cox wrote:
    > > > How do you return an out of memory error to a C program that is out of memory
    > > > due to a stack growth fault. There is actually not a language construct for it
    > >
    > > Simple, you reclaim a few of those uptodate buffers. My testing here has
    > If you have reclaimable buffers you are not out of memory. If oom is triggered
    > in that state it is a bug. If you are complaining that the oom killer triggers
    > at the wrong time then thats a completely unrelated issue.

    Ummm, yeah, that would pretty much be the claim. Real easy to reproduce too.
    Take your favorite machine with lots of RAM, run just a handful of startup
    process and system daemons, then log in on a few terminals and do:

    while true; do bonnie -s (1/2 ram); done

    Pretty soon, system daemons will start to die.


    Doug Ledford <>
    Please check my web site for aic7xxx updates/answers before
    e-mailing me about problems
    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 13:17    [W:0.021 / U:4.292 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site