Andreas Dilger wrote: > Having a SIGDANGER handler is good for 2 reasons: > 1) Lets processes know when memory is short so they can free needless cache. > 2) Mark process with a SIGDANGER handler as "more important" than those > without. Most people won't care about this, but init, and X, and > long-running simulations might. For point 1, it would be much nicer to have user processes participate in memory balancing _before_ getting anywhere near an OOM state. A nice way is to send SIGDANGER with siginfo saying how much memory the kernel wants back (or how fast). Applications that don't know to use that info, but do have a SIGDANGER handler, will still react just rather more severely. -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... David Ford
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... David Ford
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Andreas Dilger
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... David Ford
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Jamie Lokier
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Ingo Oeser
- [PATCH] OOM killer API (was: [PATCH] VM fix for ... Ingo Oeser
- Re: [PATCH] OOM killer API (was: [PATCH] VM fix ... Rik van Riel
- Re: [PATCH] OOM killer API (was: [PATCH] VM fix ... Ingo Oeser
- Re: [PATCH] OOM killer API (was: [PATCH] VM fix ... Tom Rini
- Re: [PATCH] OOM killer API (was: [PATCH] VM fix ... Rik van Riel
- Re: [PATCH] OOM killer API (was: [PATCH] VM fix ... Tom Rini
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Helge Hafting
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Andrea Arcangeli
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Helge Hafting