From: Michael Kerrisk <mtk.manpages@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org, lkml <linux-kernel@vger.kernel.org>,
linux-doc@vger.kernel.org, Rob Landley <rob@landley.net>,
Jim Paris <jim@jtan.com>,
"Michael Kerrisk (gmail)" <mtk.manpages@gmail.com>
Subject: [PATCH] Correct description of SwapFree in Documentation/filesystems/proc.txt
Date: Fri, 16 Nov 2012 08:01:42 +0100 [thread overview]
Message-ID: <50A5E4D6.60301@gmail.com> (raw)
After migrating most of the information in
Documentation/filesystems/proc.txt to the proc(5) man page,
Jim Paris pointed out to me that the description of SwapFree
in the man page seemed wrong. I think Jim is right,
but am given pause by fact that that text has been in
Documentation/filesystems/proc.txt since at least 2.6.0.
Anyway, I believe that the patch below fixes things.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index a1793d6..cf4260f 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -778,8 +778,7 @@ AnonHugePages: 49152 kB
other things, it is where everything from the Slab is
allocated. Bad things happen when you're out of lowmem.
SwapTotal: total amount of swap space available
- SwapFree: Memory which has been evicted from RAM, and is temporarily
- on the disk
+ SwapFree: Amount of swap space that is currently unused.
Dirty: Memory which is waiting to get written back to the disk
Writeback: Memory which is actively being written back to the disk
AnonPages: Non-file backed pages mapped into userspace page tables
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Michael Kerrisk <mtk.manpages@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org, lkml <linux-kernel@vger.kernel.org>,
linux-doc@vger.kernel.org, Rob Landley <rob@landley.net>,
Jim Paris <jim@jtan.com>,
"Michael Kerrisk (gmail)" <mtk.manpages@gmail.com>
Subject: [PATCH] Correct description of SwapFree in Documentation/filesystems/proc.txt
Date: Fri, 16 Nov 2012 08:01:42 +0100 [thread overview]
Message-ID: <50A5E4D6.60301@gmail.com> (raw)
After migrating most of the information in
Documentation/filesystems/proc.txt to the proc(5) man page,
Jim Paris pointed out to me that the description of SwapFree
in the man page seemed wrong. I think Jim is right,
but am given pause by fact that that text has been in
Documentation/filesystems/proc.txt since at least 2.6.0.
Anyway, I believe that the patch below fixes things.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index a1793d6..cf4260f 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -778,8 +778,7 @@ AnonHugePages: 49152 kB
other things, it is where everything from the Slab is
allocated. Bad things happen when you're out of lowmem.
SwapTotal: total amount of swap space available
- SwapFree: Memory which has been evicted from RAM, and is temporarily
- on the disk
+ SwapFree: Amount of swap space that is currently unused.
Dirty: Memory which is waiting to get written back to the disk
Writeback: Memory which is actively being written back to the disk
AnonPages: Non-file backed pages mapped into userspace page tables
next reply other threads:[~2012-11-16 7:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 7:01 Michael Kerrisk [this message]
2012-11-16 7:01 ` [PATCH] Correct description of SwapFree in Documentation/filesystems/proc.txt Michael Kerrisk
2012-11-16 10:10 ` Michal Hocko
2012-11-16 10:10 ` Michal Hocko
2012-11-16 10:16 ` Kamezawa Hiroyuki
2012-11-16 10:16 ` Kamezawa Hiroyuki
2012-11-17 5:11 ` Rob Landley
2012-11-17 5:11 ` Rob Landley
2012-11-19 6:07 ` Michael Kerrisk (man-pages)
2012-11-19 6:07 ` Michael Kerrisk (man-pages)
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=50A5E4D6.60301@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=jim@jtan.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rob@landley.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.