diff options
| author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-07-25 11:12:01 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-04 04:15:09 -0400 |
| commit | 6601fac822778aa6003aed37d8ba7acdc9a4f369 (patch) | |
| tree | b662a04bb0768810448fbec04ffecf802df58449 | |
| parent | 34e5053fbe88800f5c2c6cbc849abb5a9f390974 (diff) | |
Documentation: fix the VM knobs descritpion WRT pdflush
The pdflush thread is long gone, however we still mention it incorrectly in the
kernel documentation. This patch fixes the situation.
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| -rw-r--r-- | Documentation/laptops/laptop-mode.txt | 12 | ||||
| -rw-r--r-- | Documentation/sysctl/vm.txt | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/Documentation/laptops/laptop-mode.txt b/Documentation/laptops/laptop-mode.txt index 0bf25eebce9..4ebbfc3f1c6 100644 --- a/Documentation/laptops/laptop-mode.txt +++ b/Documentation/laptops/laptop-mode.txt | |||
| @@ -262,9 +262,9 @@ MINIMUM_BATTERY_MINUTES=10 | |||
| 262 | 262 | ||
| 263 | # | 263 | # |
| 264 | # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been | 264 | # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been |
| 265 | # exceeded, the kernel will wake pdflush which will then reduce the amount | 265 | # exceeded, the kernel will wake flusher threads which will then reduce the |
| 266 | # of dirty memory to dirty_background_ratio. Set this nice and low, so once | 266 | # amount of dirty memory to dirty_background_ratio. Set this nice and low, |
| 267 | # some writeout has commenced, we do a lot of it. | 267 | # so once some writeout has commenced, we do a lot of it. |
| 268 | # | 268 | # |
| 269 | #DIRTY_BACKGROUND_RATIO=5 | 269 | #DIRTY_BACKGROUND_RATIO=5 |
| 270 | 270 | ||
| @@ -384,9 +384,9 @@ CPU_MAXFREQ=${CPU_MAXFREQ:-'slowest'} | |||
| 384 | 384 | ||
| 385 | # | 385 | # |
| 386 | # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been | 386 | # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been |
| 387 | # exceeded, the kernel will wake pdflush which will then reduce the amount | 387 | # exceeded, the kernel will wake flusher threads which will then reduce the |
| 388 | # of dirty memory to dirty_background_ratio. Set this nice and low, so once | 388 | # amount of dirty memory to dirty_background_ratio. Set this nice and low, |
| 389 | # some writeout has commenced, we do a lot of it. | 389 | # so once some writeout has commenced, we do a lot of it. |
| 390 | # | 390 | # |
| 391 | DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'} | 391 | DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'} |
| 392 | 392 | ||
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index dcc2a94ae34..078701fdbd4 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
| @@ -76,8 +76,8 @@ huge pages although processes will also directly compact memory as required. | |||
| 76 | 76 | ||
| 77 | dirty_background_bytes | 77 | dirty_background_bytes |
| 78 | 78 | ||
| 79 | Contains the amount of dirty memory at which the pdflush background writeback | 79 | Contains the amount of dirty memory at which the background kernel |
| 80 | daemon will start writeback. | 80 | flusher threads will start writeback. |
| 81 | 81 | ||
| 82 | Note: dirty_background_bytes is the counterpart of dirty_background_ratio. Only | 82 | Note: dirty_background_bytes is the counterpart of dirty_background_ratio. Only |
| 83 | one of them may be specified at a time. When one sysctl is written it is | 83 | one of them may be specified at a time. When one sysctl is written it is |
| @@ -89,7 +89,7 @@ other appears as 0 when read. | |||
| 89 | dirty_background_ratio | 89 | dirty_background_ratio |
| 90 | 90 | ||
| 91 | Contains, as a percentage of total system memory, the number of pages at which | 91 | Contains, as a percentage of total system memory, the number of pages at which |
| 92 | the pdflush background writeback daemon will start writing out dirty data. | 92 | the background kernel flusher threads will start writing out dirty data. |
| 93 | 93 | ||
| 94 | ============================================================== | 94 | ============================================================== |
| 95 | 95 | ||
| @@ -112,9 +112,9 @@ retained. | |||
| 112 | dirty_expire_centisecs | 112 | dirty_expire_centisecs |
| 113 | 113 | ||
| 114 | This tunable is used to define when dirty data is old enough to be eligible | 114 | This tunable is used to define when dirty data is old enough to be eligible |
| 115 | for writeout by the pdflush daemons. It is expressed in 100'ths of a second. | 115 | for writeout by the kernel flusher threads. It is expressed in 100'ths |
| 116 | Data which has been dirty in-memory for longer than this interval will be | 116 | of a second. Data which has been dirty in-memory for longer than this |
| 117 | written out next time a pdflush daemon wakes up. | 117 | interval will be written out next time a flusher thread wakes up. |
| 118 | 118 | ||
| 119 | ============================================================== | 119 | ============================================================== |
| 120 | 120 | ||
| @@ -128,7 +128,7 @@ data. | |||
| 128 | 128 | ||
| 129 | dirty_writeback_centisecs | 129 | dirty_writeback_centisecs |
| 130 | 130 | ||
| 131 | The pdflush writeback daemons will periodically wake up and write `old' data | 131 | The kernel flusher threads will periodically wake up and write `old' data |
| 132 | out to disk. This tunable expresses the interval between those wakeups, in | 132 | out to disk. This tunable expresses the interval between those wakeups, in |
| 133 | 100'ths of a second. | 133 | 100'ths of a second. |
| 134 | 134 | ||
