linux-stable-rt/ipc
Nadia Derbey 91cfb2b4b5 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>
2008-04-29 08:06:13 -07:00
..
Makefile ipc: recompute msgmni on ipc namespace creation/removal 2008-04-29 08:06:12 -07:00
compat.c
compat_mq.c
ipc_sysctl.c ipc: do not recompute msgmni anymore if explicitly set by user 2008-04-29 08:06:13 -07:00
ipcns_notifier.c ipc: recompute msgmni on ipc namespace creation/removal 2008-04-29 08:06:12 -07:00
mqueue.c
msg.c ipc: recompute msgmni on memory add / remove 2008-04-29 08:06:12 -07:00
msgutil.c
namespace.c ipc: recompute msgmni on ipc namespace creation/removal 2008-04-29 08:06:12 -07:00
sem.c IPC: use ipc_buildid() directly from ipc_addid() 2008-04-29 08:06:12 -07:00
shm.c IPC: use ipc_buildid() directly from ipc_addid() 2008-04-29 08:06:12 -07:00
util.c ipc: invoke the ipcns notifier chain as a work item 2008-04-29 08:06:12 -07:00
util.h ipc: recompute msgmni on memory add / remove 2008-04-29 08:06:12 -07:00