diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-18 22:26:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-18 22:26:54 -0400 |
| commit | 814a2bf957739f367cbebfa1b60237387b72d0ee (patch) | |
| tree | 8d65c38d14beb8d6d2dc5b9d7f8dbe63c7cad31a /Documentation/sysctl | |
| parent | 237045fc3c67d44088f767dca5a9fa30815eba62 (diff) | |
| parent | f9310b2f9a19b7f16c7b1c1558f8b649b9b933c1 (diff) | |
Merge branch 'akpm' (patches from Andrew)
Merge second patch-bomb from Andrew Morton:
- a couple of hotfixes
- the rest of MM
- a new timer slack control in procfs
- a couple of procfs fixes
- a few misc things
- some printk tweaks
- lib/ updates, notably to radix-tree.
- add my and Nick Piggin's old userspace radix-tree test harness to
tools/testing/radix-tree/. Matthew said it was a godsend during the
radix-tree work he did.
- a few code-size improvements, switching to __always_inline where gcc
screwed up.
- partially implement character sets in sscanf
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (118 commits)
sscanf: implement basic character sets
lib/bug.c: use common WARN helper
param: convert some "on"/"off" users to strtobool
lib: add "on"/"off" support to kstrtobool
lib: update single-char callers of strtobool()
lib: move strtobool() to kstrtobool()
include/linux/unaligned: force inlining of byteswap operations
include/uapi/linux/byteorder, swab: force inlining of some byteswap operations
include/asm-generic/atomic-long.h: force inlining of some atomic_long operations
usb: common: convert to use match_string() helper
ide: hpt366: convert to use match_string() helper
ata: hpt366: convert to use match_string() helper
power: ab8500: convert to use match_string() helper
power: charger_manager: convert to use match_string() helper
drm/edid: convert to use match_string() helper
pinctrl: convert to use match_string() helper
device property: convert to use match_string() helper
lib/string: introduce match_string() helper
radix-tree tests: add test for radix_tree_iter_next
radix-tree tests: add regression3 test
...
Diffstat (limited to 'Documentation/sysctl')
| -rw-r--r-- | Documentation/sysctl/vm.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 89a887c76629..cb0368459da3 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
| @@ -803,6 +803,24 @@ performance impact. Reclaim code needs to take various locks to find freeable | |||
| 803 | directory and inode objects. With vfs_cache_pressure=1000, it will look for | 803 | directory and inode objects. With vfs_cache_pressure=1000, it will look for |
| 804 | ten times more freeable objects than there are. | 804 | ten times more freeable objects than there are. |
| 805 | 805 | ||
| 806 | ============================================================= | ||
| 807 | |||
| 808 | watermark_scale_factor: | ||
| 809 | |||
| 810 | This factor controls the aggressiveness of kswapd. It defines the | ||
| 811 | amount of memory left in a node/system before kswapd is woken up and | ||
| 812 | how much memory needs to be free before kswapd goes back to sleep. | ||
| 813 | |||
| 814 | The unit is in fractions of 10,000. The default value of 10 means the | ||
| 815 | distances between watermarks are 0.1% of the available memory in the | ||
| 816 | node/system. The maximum value is 1000, or 10% of memory. | ||
| 817 | |||
| 818 | A high rate of threads entering direct reclaim (allocstall) or kswapd | ||
| 819 | going to sleep prematurely (kswapd_low_wmark_hit_quickly) can indicate | ||
| 820 | that the number of free pages kswapd maintains for latency reasons is | ||
| 821 | too small for the allocation bursts occurring in the system. This knob | ||
| 822 | can then be used to tune kswapd aggressiveness accordingly. | ||
| 823 | |||
| 806 | ============================================================== | 824 | ============================================================== |
| 807 | 825 | ||
| 808 | zone_reclaim_mode: | 826 | zone_reclaim_mode: |
