diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-12 18:07:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 22:09:05 -0500 |
commit | 0151e3d6d9d72df8f823c3f991a14ba63fb13f28 (patch) | |
tree | 87252258c6fdcfe3062189747958e8582af89a01 /Documentation/vm | |
parent | b82225f3ff5be4c52cb588a4a53686db50aa6eb6 (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.txt | 8 |
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 | |||
8 | faster than reads from a swap device. | 8 | faster than reads from a swap device. |
9 | 9 | ||
10 | NOTE: Zswap is a new feature as of v3.11 and interacts heavily with memory | 10 | NOTE: Zswap is a new feature as of v3.11 and interacts heavily with memory |
11 | reclaim. This interaction has not be fully explored on the large set of | 11 | reclaim. This interaction has not been fully explored on the large set of |
12 | potential configurations and workloads that exist. For this reason, zswap | 12 | potential configurations and workloads that exist. For this reason, zswap |
13 | is a work in progress and should be considered experimental. | 13 | is 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 | ||
25 | Zswap evicts pages from compressed cache on an LRU basis to the backing swap | 25 | Zswap evicts pages from compressed cache on an LRU basis to the backing swap |
26 | device when the compressed pool reaches it size limit. This requirement had | 26 | device when the compressed pool reaches its size limit. This requirement had |
27 | been identified in prior community discussions. | 27 | been identified in prior community discussions. |
28 | 28 | ||
29 | To enabled zswap, the "enabled" attribute must be set to 1 at boot time. e.g. | 29 | To 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 | ||
38 | Zswap makes use of zbud for the managing the compressed memory pool. Each | 38 | Zswap makes use of zbud for the managing the compressed memory pool. Each |
39 | allocation in zbud is not directly accessible by address. Rather, a handle is | 39 | allocation in zbud is not directly accessible by address. Rather, a handle is |
40 | return by the allocation routine and that handle must be mapped before being | 40 | returned by the allocation routine and that handle must be mapped before being |
41 | accessed. The compressed memory pool grows on demand and shrinks as compressed | 41 | accessed. The compressed memory pool grows on demand and shrinks as compressed |
42 | pages are freed. The pool is not preallocated. | 42 | pages 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, | |||
56 | via frontswap, to free the compressed entry. | 56 | via frontswap, to free the compressed entry. |
57 | 57 | ||
58 | Zswap seeks to be simple in its policies. Sysfs attributes allow for one user | 58 | Zswap seeks to be simple in its policies. Sysfs attributes allow for one user |
59 | controlled policies: | 59 | controlled 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 | ||