linux/ipc
Nadia Derbey 4d89dc6ab2 ipc: scale msgmni to the number of ipc namespaces
Since all the namespaces see the same amount of memory (the total one) this
patch introduces a new variable that counts the ipc namespaces and divides
msg_ctlmni by this counter.

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:12 -07:00
..
compat_mq.c
compat.c fix logic error in ipc compat semctl() 2007-07-06 10:23:43 -07:00
ipc_sysctl.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
Makefile namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
mqueue.c [PATCH] r/o bind mounts: elevate write count for open()s 2008-04-19 00:29:25 -04:00
msg.c ipc: scale msgmni to the number of ipc namespaces 2008-04-29 08:06:12 -07:00
msgutil.c
namespace.c ipc: scale msgmni to the number of ipc namespaces 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: scale msgmni to the number of ipc namespaces 2008-04-29 08:06:12 -07:00
util.h IPC: make struct ipc_ids static in ipc_namespace 2008-02-08 09:22:26 -08:00