Message ID | 20220905032858.1462927-1-mawupeng1@huawei.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E0F2ECAAD5 for <linux-mm@archiver.kernel.org>; Mon, 5 Sep 2022 03:29:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 355608D0031; Sun, 4 Sep 2022 23:29:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 27DA48019E; Sun, 4 Sep 2022 23:29:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EB1DF8D0031; Sun, 4 Sep 2022 23:29:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id D01CD8D0050 for <linux-mm@kvack.org>; Sun, 4 Sep 2022 23:29:40 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 7B8A81A04CA for <linux-mm@kvack.org>; Mon, 5 Sep 2022 03:29:40 +0000 (UTC) X-FDA: 79876602120.02.016E0D3 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf22.hostedemail.com (Postfix) with ESMTP id 65DE5C006D for <linux-mm@kvack.org>; Mon, 5 Sep 2022 03:29:39 +0000 (UTC) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MLYpv673fznV0D; Mon, 5 Sep 2022 11:27:03 +0800 (CST) Received: from dggpemm500014.china.huawei.com (7.185.36.153) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 11:29:35 +0800 Received: from localhost.localdomain (10.175.112.125) by dggpemm500014.china.huawei.com (7.185.36.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 5 Sep 2022 11:29:34 +0800 From: Wupeng Ma <mawupeng1@huawei.com> To: <akpm@linux-foundation.org>, <david@redhat.com>, <npiggin@suse.de>, <ying.huang@intel.com>, <hannes@cmpxchg.org> CC: <corbet@lwn.net>, <mcgrof@kernel.org>, <mgorman@suse.de>, <keescook@chromium.org>, <yzaikin@google.com>, <songmuchun@bytedance.com>, <mike.kravetz@oracle.com>, <osalvador@suse.de>, <surenb@google.com>, <mawupeng1@huawei.com>, <rppt@kernel.org>, <charante@codeaurora.org>, <jsavitz@redhat.com>, <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org> Subject: [PATCH -next v3 0/2] watermark related improvement on zone movable Date: Mon, 5 Sep 2022 11:28:56 +0800 Message-ID: <20220905032858.1462927-1-mawupeng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500014.china.huawei.com (7.185.36.153) X-CFilter-Loop: Reflected ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662348580; a=rsa-sha256; cv=none; b=2enIrZkCX3t9CnCI2U0OIOq6jBxy9nmk4QH0hlm3I6/LbhnYQ8CHVAY7wymh0Vy1EtWZpO kjY0pncX5/1pCTB2kPycS7XovBJYkq+nag9ZkSmgrCXIxyn4/ob/vP4YfnYixbz0Ziu/jU a7gUyCTUT20Jvd/PVZk/A+PUZhGJSGE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662348580; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=w7PWWFL5MGHf7gfxushCfCTXMFtYJRRSLeD6fRUiXpY=; b=GRNPqHIjmeka9utqrQlIkDbBA/bpTWRbHvkpMZ4c5ATbaMfs1UB9hwAqEj8/HFCUOHlm0G zGe1CFQnft17r7zn9+u1StJrY5NF96h7jIXHoji3YxX7Cd6n0ZsU2HQAnjg97wzL28RZMZ Ll6AfTvSVc1Sk0hUSi0LfCkpSwURAtk= X-Stat-Signature: mza5joaxfbws89yyxmw4s8hywdbaak7p X-Rspamd-Queue-Id: 65DE5C006D X-Rspam-User: Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspamd-Server: rspam07 X-HE-Tag: 1662348579-164395 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
watermark related improvement on zone movable
|
expand
|
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(-)