[PATCH v2 0/2] watermark related improvement on zone movable

From: Wupeng Ma
Date: Fri Aug 19 2022 - 05:31:07 EST


From: Ma Wupeng <mawupeng1@xxxxxxxxxx>

The first patch cap zone movable's min watermark to small value since no
one can use it.

The second patch introduce a per zone watermark to replace the vanilla
watermark_scale_factor to bring flexibility to tune each zone's
watermark separately and lead to more efficient kswapd.

Each patch's detail information can be seen is its own changelog.

changelog since v1:
- fix compile error if CONFIG_SYSCTL is not enabled
- remove useless function comment

Ma Wupeng (2):
mm: Cap zone movable's min wmark to small value
mm: sysctl: Introduce per zone watermark_scale_factor

Documentation/admin-guide/sysctl/vm.rst | 6 ++++
include/linux/mm.h | 2 +-
kernel/sysctl.c | 2 --
mm/page_alloc.c | 41 +++++++++++++++++++------
4 files changed, 39 insertions(+), 12 deletions(-)

--
2.25.1