On 05/15/2012 06:48 AM, Minchan Kim wrote:
On 05/14/2012 08:58 PM, ehrhardt@xxxxxxxxxxxxxxxxxx wrote:
From: Christian Ehrhardt<ehrhardt@xxxxxxxxxxxxxxxxxx>
Fix of the documentation of /proc/sys/vm/page-cluster to match the behavior of
the code and add some comments about what the tunable will change in that
behavior.
Signed-off-by: Christian Ehrhardt<ehrhardt@xxxxxxxxxxxxxxxxxx>
---
Documentation/sysctl/vm.txt | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 96f0ee8..4d87dc0 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -574,16 +574,24 @@ of physical RAM. See above.
page-cluster
-page-cluster controls the number of pages which are written to swap in
-a single attempt. The swap I/O size.
+page-cluster controls the number of pages up to which consecutive pages (if
+available) are read in from swap in a single attempt. This is the swap
"If available" would be wrong in next kernel because recently Rik submit following patch,
mm: make swapin readahead skip over holes
http://marc.info/?l=linux-mm&m=132743264912987&w=4
You're right - its not severely wrong, but if we are fixing the
documentation we can do it right.
I'll send a 2nd version of the patch series with this adapted and all
the acks I got so far added.
--
Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, System z Linux Performance
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>