Re: [PATCH] strict VM overcommit

From: Adrian Bunk (bunk@fs.tum.de)
Date: Thu Jul 18 2002 - 17:08:30 EST


On 11 Jul 2002, Robert Love wrote:

>...
> In the strictest of modes, it should be impossible to allocate more
> memory than available and impossible to OOM. All memory failures should
> be pushed down to the allocation routines -- malloc, mmap, etc.
>...

Out of interest:

How is assured that it's impossible to OOM when the amount of memory
shrinks?

IOW:
- allocate very much memory
- "swapoff -a"

> Enjoy,
>
> Robert Love

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- 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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:28 EST