[PATCH -next v3 0/2] watermark related improvement on zone movable

Wupeng Ma posted 2 patches 3 years, 7 months ago
Documentation/admin-guide/sysctl/vm.rst |  6 +++
include/linux/mm.h                      |  2 +-
kernel/sysctl.c                         |  2 -
mm/page_alloc.c                         | 49 ++++++++++++++++++-------
4 files changed, 43 insertions(+), 16 deletions(-)
[PATCH -next v3 0/2] watermark related improvement on zone movable
Posted by Wupeng Ma 3 years, 7 months ago
From: Ma Wupeng <mawupeng1@huawei.com>

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 v2:
- add comment in __setup_per_zone_wmarks

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                         | 49 ++++++++++++++++++-------
 4 files changed, 43 insertions(+), 16 deletions(-)

-- 
2.25.1