From: Nadia Derbey Date: Tue, 29 Apr 2008 08:00:45 +0000 (-0700) Subject: ipc: re-enable msgmni automatic recomputing msgmni if set to negative X-Git-Tag: v2.6.26-rc1~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6546bc4279241e8fa432de1bb63a4f6f791fd669;p=pandora-kernel.git ipc: re-enable msgmni automatic recomputing msgmni if set to negative The enhancement as asked for by Yasunori: if msgmni is set to a negative value, register it back into the ipcns notifier chain. A new interface has been added to the notification mechanism: notifier_chain_cond_register() registers a notifier block only if not already registered. With that new interface we avoid taking care of the states changes in procfs. Signed-off-by: Nadia Derbey Cc: Yasunori Goto Cc: Matt Helsley Cc: Mingming Cao Cc: Pierre Peiffer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed