|
|
Log in / Subscribe / Register

watermark related improvement on zone movable

From:  Wupeng Ma <mawupeng1-AT-huawei.com>
To:  <akpm-AT-linux-foundation.org>
Subject:  [PATCH -next 0/2] watermark related improvement on zone movable
Date:  Thu, 18 Aug 2022 17:04:28 +0800
Message-ID:  <20220818090430.2859992-1-mawupeng1@huawei.com>
Cc:  <corbet-AT-lwn.net>, <mcgrof-AT-kernel.org>, <keescook-AT-chromium.org>, <yzaikin-AT-google.com>, <songmuchun-AT-bytedance.com>, <mike.kravetz-AT-oracle.com>, <osalvador-AT-suse.de>, <surenb-AT-google.com>, <mawupeng1-AT-huawei.com>, <rppt-AT-kernel.org>, <charante-AT-codeaurora.org>, <jsavitz-AT-redhat.com>, <linux-doc-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-mm-AT-kvack.org>, <linux-fsdevel-AT-vger.kernel.org>, <wangkefeng.wang-AT-huawei.com>
Archive-link:  Article

From: Ma Wupeng <mawupeng1@huawei.com>

The first patch cap zone movable's min wmark 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.

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 +-
 include/linux/mmzone.h                  |  4 +--
 kernel/sysctl.c                         |  2 --
 mm/page_alloc.c                         | 41 +++++++++++++++++++------
 5 files changed, 41 insertions(+), 14 deletions(-)

-- 
2.25.1



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds