Message ID | 20240123183332.876854-1-shikemeng@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp242917dyi; Tue, 23 Jan 2024 02:36:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzX+7LAeDnbq06BndZfnOj9Of1LH++TDLxToyvf8oEnRoBF2a5R5MJohoCut+FZcn9ISqw X-Received: by 2002:a17:907:6d23:b0:a27:fb3f:6115 with SMTP id sa35-20020a1709076d2300b00a27fb3f6115mr2300342ejc.223.1706006192554; Tue, 23 Jan 2024 02:36:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706006192; cv=pass; d=google.com; s=arc-20160816; b=UfW6vmOA2o9QvFVwZx7SURE7+gHllYmAV8VkeGb/DWimbvo7KqpYLtI4PBA+PFErQv flFjQUReXZ+D9nJ9vIeDxakn9Laz0j7CNrH+nvpDE1KI9A8CtckGw2pJJy+izgUloezu 1x1rvGJOkgw/fpUJBYXMTZ7TYc9QccU8YXZn/krwW7QcpIX9rl+DfesadJbNVmD0Hxji 4JPJLjor9eL3W9VDW4L4iPTi0cLUeoVPZoj8bAsOCFrmjm0MB9ry6dDQ7jpNY1uys1Uo jLbdmC8azI0sn2jkxPBLzJu/scGeaTJwPCyOO0ptyOrdR03RSLz1DawiBbeHqQ8AhtYg KoWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=edmQ5NvE+fbAbLkz4orqx8XA1RuGhsFqaExTwFzjatQ=; fh=3Ss5Ej51LtomINREz9SBMa8SvucOLePgu/oJV7u94x4=; b=zdys8CvNEvkEzisqLkfCbnitWTLXpHWu0cQpD/qCsZWVJsjxTS34yLjDCF0tEutQ4b 3dstqGDpFLGyIxahPr3S5HPLYGar4Umt7S3XbTAkKaNbOp6Gd1ulIQpmcn19igi5WRSp 1IWAax+kerk6mz+52ewJcSr5MC5wI8e9QWgjLJGEhnBfwQioa4UGxGmBo/Nqfa7XaxyC Y8/XfZxubLqAQKYdxxUcuO+Rg/LRIPTpuDU7zOfM4cOg08wPZAzBS0ci5oxERuB99xgP /U6y1U1qZI847vYFeas7nFKuiCcAM+/LMTZE6OLkyqAhm7c5zfagFIvHcoS1IquuCHKo pnog== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n7-20020a170906378700b00a2ac142722fsi11695285ejc.167.2024.01.23.02.36.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 02:36:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35099-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2C9BE1F21DD4 for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 10:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F7915D738; Tue, 23 Jan 2024 10:35:57 +0000 (UTC) Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 579B85C610; Tue, 23 Jan 2024 10:35:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706006155; cv=none; b=tdRMByEOV+0RRFmqpmenxGPmugoxNZuLd3QGouwB5vysKYUxcFPr+SbH1Pas0kpGGBEdmqC91B4y4TOlnWWb1RrR3sKN9RETAUtmIbXmHPknAv5S5jsrZv13w9uHq5CyBr+p3o2BWioDuLpYG7c7FEsG7aqouD85uaifVkiKBLU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706006155; c=relaxed/simple; bh=jGLQft2UCd1WQbnLWgW3Z8a2vV5Cihn+2pK2dxVLl1E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kDRPNX1/B6LLQpu/bqjHhDmWxS0dlDqMTw9IhbXCM7n0ZPyc3LFcecDmgM2TUa2yCipg5goJ2NK8y1Rkm+q3bjDykbTv7D5IHzH2VrP7OyrmM+w7qFMXBI7nx7Kg6IGuHWWRx4dkRdYTeOrEAy55h4WsZ0Gd6s969C+GhQojOcQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4TK3QX5kmSz4f3jZG; Tue, 23 Jan 2024 18:35:48 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 22D631A0232; Tue, 23 Jan 2024 18:35:51 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP1 (Coremail) with SMTP id cCh0CgA3Bg+Flq9ly6DjBg--.30161S2; Tue, 23 Jan 2024 18:35:50 +0800 (CST) From: Kemeng Shi <shikemeng@huaweicloud.com> To: willy@infradead.org, akpm@linux-foundation.org Cc: tj@kernel.org, hcochran@kernelspring.com, mszeredi@redhat.com, axboe@kernel.dk, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Fix and cleanups to page-writeback Date: Wed, 24 Jan 2024 02:33:27 +0800 Message-Id: <20240123183332.876854-1-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: cCh0CgA3Bg+Flq9ly6DjBg--.30161S2 X-Coremail-Antispam: 1UD129KBjvdXoWrXr1rCFyfJr47uw4DGr1DGFg_yoWxXFg_Wa y8JasrGryUJFZ8Ga429wn8XFyDGw4UWr1UG3ZYqrWUJr1Iqr1DZF1DCa1rZr1xZF1UuFy3 AF9rXr4ftwn7CjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb7AYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l87I20VAvwVAaII0Ic2I_JFv_Gryl8c AvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWD JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_Gc CE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxI r21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87 Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IY c2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s 026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF 0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0x vE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2 jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU0VnQUUUUUU== X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788877148986023346 X-GMAIL-MSGID: 1788877148986023346 |
Series |
Fix and cleanups to page-writeback
|
|
Message
Kemeng Shi
Jan. 23, 2024, 6:33 p.m. UTC
This series contains some random cleanups and a fix to correct calculation of cgroup wb's bg_thresh. More details can be found respective patches. Thanks! Kemeng Shi (5): mm: enable __wb_calc_thresh to calculate dirty background threshold mm: correct calculation of cgroup wb's bg_thresh in wb_over_bg_thresh mm: call __wb_calc_thresh instead of wb_calc_thresh in wb_over_bg_thresh mm: remove redundant check in wb_min_max_ratio mm: remove stale comment __folio_mark_dirty mm/page-writeback.c | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-)
Comments
On Wed, Jan 24, 2024 at 02:33:27AM +0800, Kemeng Shi wrote: > This series contains some random cleanups and a fix to correct > calculation of cgroup wb's bg_thresh. More details can be found > respective patches. Thanks! > > Kemeng Shi (5): > mm: enable __wb_calc_thresh to calculate dirty background threshold > mm: correct calculation of cgroup wb's bg_thresh in wb_over_bg_thresh > mm: call __wb_calc_thresh instead of wb_calc_thresh in > wb_over_bg_thresh > mm: remove redundant check in wb_min_max_ratio > mm: remove stale comment __folio_mark_dirty I don't have the fifth patch in my inbox and I find the patchset difficult to review because it's changing subtle behaviors without sufficient justifications or concrete cases which motivated the changes. For now, I think it'd be prudent to not apply this patchset. Thanks.