mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: torvalds <torvalds@linux-foundation.org>,
	Federica Teodori <federica.teodori@googlemail.com>,
	Rik van Riel <riel@redhat.com>
Subject: [PATCH 4/6] Documentation: file handles are now freed
Date: Tue, 15 Mar 2011 16:12:05 -0700	[thread overview]
Message-ID: <20110315161205.413e4d96.rdunlap@xenotime.net> (raw)
In-Reply-To: <20110315134316.465b6e2c.rdunlap@xenotime.net>

From: Federica Teodori <federica.teodori@googlemail.com>

Since file handles are freed, a little amendment to the documentation

Signed-off-by: Federica Teodori <federica.teodori@googlemail.com>
Acked-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 Documentation/sysctl/fs.txt |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

--- lnx-2638-rc8.orig/Documentation/sysctl/fs.txt
+++ lnx-2638-rc8/Documentation/sysctl/fs.txt
@@ -88,20 +88,19 @@ you might want to raise the limit.
 
 file-max & file-nr:
 
-The kernel allocates file handles dynamically, but as yet it
-doesn't free them again.
-
 The value in file-max denotes the maximum number of file-
 handles that the Linux kernel will allocate. When you get lots
 of error messages about running out of file handles, you might
 want to increase this limit.
 
-Historically, the three values in file-nr denoted the number of
-allocated file handles, the number of allocated but unused file
-handles, and the maximum number of file handles. Linux 2.6 always
-reports 0 as the number of free file handles -- this is not an
-error, it just means that the number of allocated file handles
-exactly matches the number of used file handles.
+Historically,the kernel was able to allocate file handles
+dynamically, but not to free them again. The three values in
+file-nr denote the number of allocated file handles, the number
+of allocated but unused file handles, and the maximum number of
+file handles. Linux 2.6 always reports 0 as the number of free
+file handles -- this is not an error, it just means that the
+number of allocated file handles exactly matches the number of
+used file handles.
 
 Attempts to allocate more file descriptors than file-max are
 reported with printk, look for "VFS: file-max limit <number>

  parent reply	other threads:[~2011-03-15 23:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110315134316.465b6e2c.rdunlap@xenotime.net>
2011-03-15 23:11 ` [PATCH 2/6] Documentation: add devicetree docs index file Randy Dunlap
2011-03-15 23:11 ` [PATCH 3/6] Documentation: update header filename in CodingStyle Randy Dunlap
2011-03-16  5:13   ` Harry Wei
2011-03-15 23:12 ` Randy Dunlap [this message]
2011-03-15 23:12 ` [PATCH 5/6] Documentation: update cgroup pid and cpuset information Randy Dunlap
2011-03-15 23:12 ` [PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked() Randy Dunlap
2011-03-16 13:56   ` [tip:sched/urgent] sched, kernel-doc: Fix runqueue_is_locked() description tip-bot for Randy Dunlap

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=20110315161205.413e4d96.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=federica.teodori@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®