From patchwork Wed Oct 9 15:17:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tang Yizhou X-Patchwork-Id: 13828553 Return-Path: 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 27519CEDDA4 for ; Wed, 9 Oct 2024 14:41:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2A4D68D0003; Wed, 9 Oct 2024 10:41:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 253068D0001; Wed, 9 Oct 2024 10:41:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 07DB38D0003; Wed, 9 Oct 2024 10:41:45 -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 D9F648D0001 for ; Wed, 9 Oct 2024 10:41:45 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 9EDB9810E5 for ; Wed, 9 Oct 2024 14:41:43 +0000 (UTC) X-FDA: 82654327770.02.4B016F6 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by imf10.hostedemail.com (Postfix) with ESMTP id AA6C5C0018 for ; Wed, 9 Oct 2024 14:41:43 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=shopee.com header.s=shopee.com header.b=Nj85qYWK; dmarc=pass (policy=reject) header.from=shopee.com; spf=pass (imf10.hostedemail.com: domain of yizhou.tang@shopee.com designates 209.85.210.182 as permitted sender) smtp.mailfrom=yizhou.tang@shopee.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728484803; a=rsa-sha256; cv=none; b=0A1WqMmuXNzgwXd9mgS+weKvQ2Td7pJPO9JdxnCQVnvPFvs3L1V0QyV+wj11/VN9LJI0Ck zpTt4mPlNkdAEHyQhDvhfWi9+MGvPK/14k5nEGrFm1jPBgFaNRccfHAMcS19frJV7CukEB OWQ/SYRmzvV+CkdquJWJhgaAktxbYLo= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=shopee.com header.s=shopee.com header.b=Nj85qYWK; dmarc=pass (policy=reject) header.from=shopee.com; spf=pass (imf10.hostedemail.com: domain of yizhou.tang@shopee.com designates 209.85.210.182 as permitted sender) smtp.mailfrom=yizhou.tang@shopee.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728484803; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=262u3WRSsnZCS6tRA/wryh4VmMTwkyxbe0lMaxXGOBA=; b=BfeV8KBVtDWwgR02oUQ9zB4KHxx4PmgJakB0+H5h0y4YoQ/wgs3MBvhodq2kpO0yFeFoaa 6gYIJOdqMeysm5m0TA6JKUJXadbjZC9WVYNf/1ahYFOpBzo0Fu68eMRkzDzjYQiBGQBZh4 5zZccbFbsgc4VZVzgdyWobgRaITh3C4= Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-71e0cd1f3b6so2261820b3a.0 for ; Wed, 09 Oct 2024 07:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1728484902; x=1729089702; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=262u3WRSsnZCS6tRA/wryh4VmMTwkyxbe0lMaxXGOBA=; b=Nj85qYWKqfIdixgzQNwkiTgvPD7WO6DgX5AOt1BiDOzqqXQKrKjbV1G5YqvHjF2V2H B437O33Te6lGEgfWpkrZQb2mIjSlLtIKQO0Ysz+HTU0nnOc2VXPRvdT/sHUaMDxEmFb/ 8D5QG+nzlxlRXh7LozdxFI4IuuRt4dcqWs0JRz20FJG2m2NO7GriQCc4IeNkzf9QGaAg +bgTOyVFeWtqa6pno3f/LyLcPIdCHpcA9MjHaMtji2MAyQ26x5mSft/bPJfMqtP9gdMc roe7dagg9RM+IM9qY6WtkT8pUTYpcPDvjR/W6h+Ohm7SDSh/k08lqnWSIau866B5855E SaCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728484902; x=1729089702; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=262u3WRSsnZCS6tRA/wryh4VmMTwkyxbe0lMaxXGOBA=; b=OiqoJBDPzUG+B3g/8QxTQhNNIYdrVWHAhRFdyiPJdasbZG6/ZBydCqvDCTx1SCVihX fiRWVagnY+Wwoa1Mq4wg4ljTQ8q/eDMLj3eCA3nxqhZIGy0CAsriglqpSxBjLmkaDaaV mlBl7ylFfsgr8SOSk4EzhlhXZETLkFBlY0MSKT6agIyTSVNCSUf+5SVGupjX+A0maWH1 6joGXqVwz366RQbXQxO9+vUU8zwOmbRbg++7dXd/kqgsc9uRHw+QleYWV369w+KeMqY4 ghzNje7rZmuXUtCuoOaSCLxMgb0nLdrGSQfybazMZVQdMhaSlDpAHY/sh1Hlj2/S02mi o+0Q== X-Forwarded-Encrypted: i=1; AJvYcCWQyGCSGv2+CABfoYwFzreZ2nk1CIOxl8uU71xGcXc8anSIYo+v3AZ8Fa5diydN0OaH38nFRdJv3A==@kvack.org X-Gm-Message-State: AOJu0Yyr1DOkVCvaTGnDobxrE2XIn91yGuAhaOCi+bahTcsZQ2MWQZWp ASZ0I6EhD+AzbY/XTzAuzWTeSXuljy9ieosGx+z5WIrUWUbX0TMuTqJ8SzN3f58= X-Google-Smtp-Source: AGHT+IG8FUHdCZJ605uLVInPK/Fx/m2C72TUt/JwkrShuf6hbCKGofvSPaCkEirNpBKGNWAE8tweJA== X-Received: by 2002:a05:6a00:194f:b0:71d:eb7d:20d5 with SMTP id d2e1a72fcca58-71e1db74bbamr4668154b3a.8.1728484902193; Wed, 09 Oct 2024 07:41:42 -0700 (PDT) Received: from localhost.localdomain ([143.92.64.20]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71df0ccdb64sm7852764b3a.48.2024.10.09.07.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 07:41:41 -0700 (PDT) From: Tang Yizhou X-Google-Original-From: Tang Yizhou To: jack@suse.cz, hch@infradead.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Tang Yizhou Subject: [PATCH v3 2/2] mm/page-writeback.c: Fix comment of wb_domain_writeout_add() Date: Wed, 9 Oct 2024 23:17:28 +0800 Message-Id: <20241009151728.300477-3-yizhou.tang@shopee.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241009151728.300477-1-yizhou.tang@shopee.com> References: <20241009151728.300477-1-yizhou.tang@shopee.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: AA6C5C0018 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: cxraotd8k89qhbomtyyjj3o3arsticjh X-HE-Tag: 1728484903-279973 X-HE-Meta: U2FsdGVkX18d6UB8sUrA3wtwitRiVhxZGSGiT7FVIbE2U5A/E+Fs6sJbsXClX85X/FFn0WRkY53z0sl2RVAzHo93uxZD7Y2v9bWSWCpSxjCikqzjlS8OPkUawDw6M846zsw6GETUoRP8QaY17R7dM41QB/sV1sYpqJjyUv4uTkyOw6f62lNvZb9DHb9U33I5A/tt6BeIjDeO+olhmYEgfhTzA75ykmyrxbAf44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CYK22zZwG2pTHkjLVGgzNm/lTWX6+lsNHhBAvMaqHGkDiC8wRzREO4efPKRiYPPQjqut4aIzH6eFPmslSIXk2q/ZR1Itkpu4QofIVILC8qi6hVMFvhqb5lZacxL7y6GYycqVv9ZbtpAamss= X-Bogosity: Ham, tests=bogofilter, spamicity=0.003919, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Tang Yizhou __bdi_writeout_inc() has undergone multiple renamings, but the comment within the function body have not been updated accordingly. Update it to reflect the latest wb_domain_writeout_add(). Signed-off-by: Tang Yizhou Reviewed-by: Jan Kara --- mm/page-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index c7c6b58a8461..72a5d8836425 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -586,7 +586,7 @@ static void wb_domain_writeout_add(struct wb_domain *dom, /* First event after period switching was turned off? */ if (unlikely(!dom->period_time)) { /* - * We can race with other __bdi_writeout_inc calls here but + * We can race with other wb_domain_writeout_add calls here but * it does not cause any harm since the resulting time when * timer will fire and what is in writeout_period_time will be * roughly the same.