Re: 2.4 kernel series and the oom_killer and /proc/sys/vm/overcommit_memory

Rik van Riel (riel@conectiva.com.br)
Sat, 24 Aug 2002 00:46:11 -0300 (BRT)


On Sat, 24 Aug 2002, Daniel Phillips wrote:
> On Thursday 22 August 2002 19:32, Alan Cox wrote:
> > 3 is a totally paranoid [overcommit policy] that will require everything in
> > ram can be dumped to swap or paged back from backing store
>
> How do you handle the situation where you have a lot of shared memory in a
> half-paged-out state, so that each shared page consumes both ram and swap?

That will work fine with 'totally paranoid' mode. There is always
enough swap space to hold _all_ pages, so everything will just
continue to work.

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/