Message ID | 20220818090430.2859992-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 C3079C00140 for <linux-mm@archiver.kernel.org>; Thu, 18 Aug 2022 10:54:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F4896B0075; Thu, 18 Aug 2022 06:54:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A35B6B0078; Thu, 18 Aug 2022 06:54:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 092758D0001; Thu, 18 Aug 2022 06:54:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id EDB1C6B0075 for <linux-mm@kvack.org>; Thu, 18 Aug 2022 06:54:52 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id BE59A401F2 for <linux-mm@kvack.org>; Thu, 18 Aug 2022 10:54:52 +0000 (UTC) X-FDA: 79812405624.27.B2AEF86 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf10.hostedemail.com (Postfix) with ESMTP id 10C0FC0369 for <linux-mm@kvack.org>; Thu, 18 Aug 2022 10:54:07 +0000 (UTC) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4M7f5X4djvzlWHh; Thu, 18 Aug 2022 17:01:52 +0800 (CST) Received: from dggpemm500014.china.huawei.com (7.185.36.153) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 18 Aug 2022 17:04:57 +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; Thu, 18 Aug 2022 17:04:57 +0800 From: Wupeng Ma <mawupeng1@huawei.com> To: <akpm@linux-foundation.org> CC: <corbet@lwn.net>, <mcgrof@kernel.org>, <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-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>, <linux-fsdevel@vger.kernel.org>, <wangkefeng.wang@huawei.com> 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> 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: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500014.china.huawei.com (7.185.36.153) X-CFilter-Loop: Reflected ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660820047; 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=rWW8H+jCbMRqlTxSuTs26VCxC6vui2DvrgabK3P0Als=; b=fRQALFlCVSEw7YWVEyrAuJVzlEsKR9gI93jfoLgJEnerveSRJ2ySF1m0tHE/LD+7ypMVaq 7sqMnp67xPrEXk41QlbIap/ZDfp8e9dPbKiPyzihGy0RUShnhXJfWm0DXIa40dWN38tTuY m+TSl176lpuJUN8aKBb2Qz8xC61Aj/U= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660820047; a=rsa-sha256; cv=none; b=olUHeXQNvTMyNS/uReJY1wQggjalYdnNKheyzuOh2YWBlc5vw6XiWv0VA2JGWGn4wg+cLs Yb+Pf+bF9EZxaFaiRHOAoGAbTudMasKYsOqZdHLsNNoG2Rn1S84mAanKW8eGExwY/Emef1 6NmeiwWDgqE1hvjUubkwFKnNqEIxAGs= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspamd-Queue-Id: 10C0FC0369 X-Rspamd-Server: rspam12 X-Stat-Signature: 9ye6goa4c7ycrqhpo4n3zcwf7xbbapfk X-HE-Tag: 1660820047-23105 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 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(-)