mbox series

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

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

Message

mawupeng Aug. 19, 2022, 9:30 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 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(-)

Comments

mawupeng Aug. 24, 2022, 7:27 a.m. UTC | #1
Hi, maintainers, kindly ping...

Thanks.
Ma.

On 2022/8/19 17:30, Wupeng Ma wrote:
> 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 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(-)
>