Re: MAP_NORESERVE with MAP_SHARED

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 12 2002 - 17:15:02 EST


On Fri, 2002-07-12 at 21:39, David Mosberger wrote:
> Is there a good reason why the MAP_NORESERVE flag is ignored when
> MAP_SHARED is specified? (Hint: it's the call to vm_enough_memory()
> in shmem_file_setup() that's causing MAP_NORESERVE to be ignored.)

In no overcommit mode MAP_NORESERVE is never honoured. In conventional
overcommit mode I may have broken something between base and -ac. Which
bit of the code are you looking at ?

-
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 : Mon Jul 15 2002 - 22:00:24 EST