mbox series

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

Message ID 20220905032858.1462927-1-mawupeng1@huawei.com (mailing list archive)
Headers show
Series watermark related improvement on zone movable | expand

Message

mawupeng Sept. 5, 2022, 3:28 a.m. UTC
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(-)