public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nadia.Derbey@bull.net
To: akpm@linux-foundation.org
Cc: matthltc@us.ibm.com, Solofo.Ramangalahy@bull.net,
	linux-kernel@vger.kernel.org, Nadia.Derbey@bull.net
Subject: [PATCH 1/1] IPC - Document the new auto_msgmni proc file
Date: Tue, 26 Aug 2008 11:54:28 +0200	[thread overview]
Message-ID: <20080826095524.294452330@bull.net> (raw)
In-Reply-To: 20080826095427.460892713@bull.net

[-- Attachment #1: auto_msgmni_doc.patch --]
[-- Type: text/plain, Size: 1961 bytes --]

Sorry for the delay but this message has been queued for 5 days (my sendmail
was not correclty configured) - resending.

[PATCH 01/01]

This patch updates Documentation/filesystems/proc.txt: it describes the file
auto_msgmni intoduced to enable/disable msgmni automatic recomputing upon
memory add/remove (see thread http://lkml.org/lkml/2008/7/4/27).
Also added a description for msgmni (this filex is only listed in
Documentation/sysctl/kernel.txt).

Applies to 2.6.27-rc1-mm1.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>

---
 Documentation/filesystems/proc.txt |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Index: linux-2.6.27-rc1-mm1/Documentation/filesystems/proc.txt
===================================================================
--- linux-2.6.27-rc1-mm1.orig/Documentation/filesystems/proc.txt	2008-08-21 09:43:36.000000000 +0200
+++ linux-2.6.27-rc1-mm1/Documentation/filesystems/proc.txt	2008-08-21 10:17:28.000000000 +0200
@@ -1339,6 +1339,25 @@ Enables/Disables the protection of the p
 "smaps".  When enabled, the contents of these files are visible only to
 readers that are allowed to ptrace() the given process.
 
+msgmni
+------
+
+Maximum number of message queue ids on the system.
+This value scales to the amount of lowmem. It is automatically recomputed
+upon memory add/remove or ipc namespace creation/removal.
+When a value is written into this file, msgmni's value becomes fixed, i.e. it
+is not recomputed anymore when one of the above events occurs.
+Use auto_msgmni to change this behavior.
+
+auto_msgmni
+-----------
+
+Enables/Disables automatic recomputing of msgmni upon memory add/remove or
+upon ipc namespace creation/removal (see the msgmni description above).
+Echoing "1" into this file enables msgmni automatic recomputing.
+Echoing "0" turns it off.
+auto_msgmni default value is 1.
+
 
 2.4 /proc/sys/vm - The virtual memory subsystem
 -----------------------------------------------

-- 

           reply	other threads:[~2008-08-26  9:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20080826095427.460892713@bull.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080826095524.294452330@bull.net \
    --to=nadia.derbey@bull.net \
    --cc=Solofo.Ramangalahy@bull.net \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthltc@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox