aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/vm
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2013-11-12 18:07:34 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-12 22:09:05 -0500
commit0151e3d6d9d72df8f823c3f991a14ba63fb13f28 (patch)
tree87252258c6fdcfe3062189747958e8582af89a01 /Documentation/vm
parentb82225f3ff5be4c52cb588a4a53686db50aa6eb6 (diff)
Documentation/vm/zswap.txt: fix typos
Signed-off-by: Christian Hesse <mail@eworm.de> Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/vm')
-rw-r--r--Documentation/vm/zswap.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/vm/zswap.txt b/Documentation/vm/zswap.txt
index 7e492d8aaeaf..00c3d31e7971 100644
--- a/Documentation/vm/zswap.txt
+++ b/Documentation/vm/zswap.txt
@@ -8,7 +8,7 @@ significant performance improvement if reads from the compressed cache are
8faster than reads from a swap device. 8faster than reads from a swap device.
9 9
10NOTE: Zswap is a new feature as of v3.11 and interacts heavily with memory 10NOTE: Zswap is a new feature as of v3.11 and interacts heavily with memory
11reclaim. This interaction has not be fully explored on the large set of 11reclaim. This interaction has not been fully explored on the large set of
12potential configurations and workloads that exist. For this reason, zswap 12potential configurations and workloads that exist. For this reason, zswap
13is a work in progress and should be considered experimental. 13is a work in progress and should be considered experimental.
14 14
@@ -23,7 +23,7 @@ Some potential benefits:
23    drastically reducing life-shortening writes. 23    drastically reducing life-shortening writes.
24 24
25Zswap evicts pages from compressed cache on an LRU basis to the backing swap 25Zswap evicts pages from compressed cache on an LRU basis to the backing swap
26device when the compressed pool reaches it size limit. This requirement had 26device when the compressed pool reaches its size limit. This requirement had
27been identified in prior community discussions. 27been identified in prior community discussions.
28 28
29To enabled zswap, the "enabled" attribute must be set to 1 at boot time. e.g. 29To enabled zswap, the "enabled" attribute must be set to 1 at boot time. e.g.
@@ -37,7 +37,7 @@ the backing swap device in the case that the compressed pool is full.
37 37
38Zswap makes use of zbud for the managing the compressed memory pool. Each 38Zswap makes use of zbud for the managing the compressed memory pool. Each
39allocation in zbud is not directly accessible by address. Rather, a handle is 39allocation in zbud is not directly accessible by address. Rather, a handle is
40return by the allocation routine and that handle must be mapped before being 40returned by the allocation routine and that handle must be mapped before being
41accessed. The compressed memory pool grows on demand and shrinks as compressed 41accessed. The compressed memory pool grows on demand and shrinks as compressed
42pages are freed. The pool is not preallocated. 42pages are freed. The pool is not preallocated.
43 43
@@ -56,7 +56,7 @@ in the swap_map goes to 0) the swap code calls the zswap invalidate function,
56via frontswap, to free the compressed entry. 56via frontswap, to free the compressed entry.
57 57
58Zswap seeks to be simple in its policies. Sysfs attributes allow for one user 58Zswap seeks to be simple in its policies. Sysfs attributes allow for one user
59controlled policies: 59controlled policy:
60* max_pool_percent - The maximum percentage of memory that the compressed 60* max_pool_percent - The maximum percentage of memory that the compressed
61 pool can occupy. 61 pool can occupy.
62 62