[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Suspend 2 merge:L 12/51: Disable OOM killer when suspending.

    > When preparing the image, suspend eats all the memory in sight, both to
    > reduce the image size and to improve the reliability of our stats (We've
    > worked hard to make it work reliably under heavy load - 100+). Of course
    > this can result in the OOM killer being triggered, so this simple test
    > stops that happening.

    andrew's shrink_all_memory should enable you to free memory without
    hacking OOM killer, no?

    If shrink_all_memory is broken... fix it.

    > + if (test_suspend_state(SUSPEND_FREEZER_ON))
    > + return;
    > +

    Hmm, yes, something like this migh be usefull for BUG_ONs etc...
    For consistency, right name is probably in_suspend(void).

    64 bytes from icmp_seq=28 ttl=51 time=448769.1 ms

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