[PATCH] SHM_NORESERVE flags for shmget()
authorBadari Pulavarty <pbadari@us.ibm.com>
Mon, 7 Nov 2005 08:59:27 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:37 +0000 (07:53 -0800)
commitbf8f972d3a1daf969cf44f64cc36d53bfd76441f
treec3f0ac2f789c695d13858171144aa5f4ecdc84c1
parentd8ba3b731086bcae5468f9ea509f39a921b3f9a6
[PATCH] SHM_NORESERVE flags for shmget()

Add SHM_NORESERVE functionality similar to MAP_NORESERVE for shared memory
segments.

This is mainly to avoid abuse of OVERCOMMIT_ALWAYS and this flag is ignored
for OVERCOMMIT_NEVER.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/shm.h
ipc/shm.c