diff options
author | Liangcai Fan <liangcaifan19@gmail.com> | 2021-11-05 13:40:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 13:30:38 -0700 |
commit | a6ea8b5b9f1ce3403a1c8516035d653006741e80 (patch) | |
tree | 2d42504892e23e975caf6adc3062713021869dc5 /init | |
parent | 8ca1b5a49885f0c0c486544da46a9e0ac790831d (diff) | |
download | linux-a6ea8b5b9f1ce3403a1c8516035d653006741e80.tar.gz linux-a6ea8b5b9f1ce3403a1c8516035d653006741e80.tar.bz2 linux-a6ea8b5b9f1ce3403a1c8516035d653006741e80.zip |
mm/page_alloc.c: show watermark_boost of zone in zoneinfo
min/low/high_wmark_pages(z) is defined as
(z->_watermark[WMARK_MIN/LOW/HIGH] + z->watermark_boost)
If kswapd is frequently woken up due to the increase of
min/low/high_wmark_pages, printing watermark_boost can quickly locate
whether watermark_boost or _watermark[WMARK_MIN/LOW/HIGH] caused
min/low/high_wmark_pages to increase.
Link: https://lkml.kernel.org/r/1632472566-12246-1-git-send-email-liangcaifan19@gmail.com
Signed-off-by: Liangcai Fan <liangcaifan19@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions