]> err.no Git - linux-2.6/commit
ipc: do not recompute msgmni anymore if explicitly set by user
authorNadia Derbey <Nadia.Derbey@bull.net>
Tue, 29 Apr 2008 08:00:44 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:13 +0000 (08:06 -0700)
commit91cfb2b4b57816de0c96de417b3238249f0b125f
treea7f10f4445c6ffeec0e4cad5a2ea5dae3d0faf8b
parente2c284d8a87f95df9b47c6a13168a844ca7c03e9
ipc: do not recompute msgmni anymore if explicitly set by user

Make msgmni not recomputed anymore upon ipc namespace creation / removal or
memory add/remove, as soon as it has been set from userland.

As soon as msgmni is explicitly set via procfs or sysctl(), the associated
callback routine is unregistered from the ipc namespace notifier chain.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Matt Helsley <matthltc@us.ibm.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Pierre Peiffer <pierre.peiffer@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/ipc_sysctl.c