,--------------- Forwarded message (begin) Subject: Re: [PATCH] Prevent OOM from killing init From: Jonathan Morton <[EMAIL PROTECTED]> Date: Fri, 23 Mar 2001 20:45:43 -0500 >Hmm... "if ( freemem < (size_of_mallocing_process / 20) ) fail_to_allocate;" Not sure this is that reasonable on a 4G box... 800M is a big chunk... Why not base this on the vm's free goal. If I remember correctly it tries to keep one second of pages ready for allocating. If memory is so tight that a second's worth of memory does not exist. Note that I mean memory free in main memory and swap. Think your malloc patch along with UID weighting (1-99 protected, 100-999 endangered, 1000+ open season - with poaching expected if there is no choise) will make help oom processing. Ed Tomlinson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] Prevent OOM from killing init Andries . Brouwer
- Re: [PATCH] Prevent OOM from killing init Martin Dalecki
- Re: [PATCH] Prevent OOM from killing init Jonathan Morton
- Re: [PATCH] Prevent OOM from killing init Rik van Riel
- Re: [PATCH] Prevent OOM from killing init Jonathan Morton
- Re: [PATCH] Prevent OOM from killing in... Jonathan Morton
- Re: [PATCH] Prevent OOM from killing init Paul Jakma
- Re: [PATCH] Prevent OOM from killing init Andries . Brouwer
- Re: [PATCH] Prevent OOM from killing init Jonathan Morton
- Re: [PATCH] Prevent OOM from killing init Andreas Franck
- Re: [PATCH] Prevent OOM from killing init Ed Tomlinson
- Re: [PATCH] Prevent OOM from killing init Andries . Brouwer
- Re: [PATCH] Prevent OOM from killing init Benoit Garnier
- Re: [PATCH] Prevent OOM from killing init Stephen Satchell
- Re: [PATCH] Prevent OOM from killing init Stephen Clouse
- Re: [PATCH] Prevent OOM from killing init Martin Dalecki
- Re: [PATCH] Prevent OOM from killing init Martin Dalecki
- Re: [PATCH] Prevent OOM from killing init Jonathan Morton
- Re: [PATCH] Prevent OOM from killing init Rik van Riel
- Re: [PATCH] Prevent OOM from killing init Helge Hafting