Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1659355lqm; Fri, 3 May 2024 02:32:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX45UCk/qeBqnu4AlnJqqPWjL8mSi9HarZ0AIFmsmbaumw83HqZ4OBv504X7o0InW72ywPya+aqgtwaLZP+V+XiplGsRjntvFJftLfmDA== X-Google-Smtp-Source: AGHT+IHoTKQkWN7N0Amb5MwgGUj4nq/x6UVjdwRPpMMNDGMSzA1x9cdqapTsfJwo/UxTnN8Bg0tK X-Received: by 2002:a05:6122:31a3:b0:4df:16d8:2b82 with SMTP id ch35-20020a05612231a300b004df16d82b82mr2317146vkb.1.1714728738234; Fri, 03 May 2024 02:32:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714728738; cv=pass; d=google.com; s=arc-20160816; b=Lx3FnQlYqQbgYqAaZhr4NOsr5ARwBFi7gbTnc/kGaQJyzdKSG0mj++rTu78hUCsnTt Yb8iGz91MpPTBMKdscvrt7yks6rrAoEl6wgH3O8/WOM7ATUmOiSv5ccu/38Wl8UN92L4 hCYc49TokyBqJiKbWNIfrpNyo2Rk4f4UfGHFQU5IK85gf/AFUlW1nHorGiLaXzBEfdFc +rsozKs08aXF1Gp4fwEMEU9Hu60FqVyPes20zHnE0K/4/vEOwg01cXX847GB9OP/y8i2 K8DKSGLjEVshPGqCLB9s8sKLmR3D8iR3a21zKuzsYcwuraS+4gJsZSD/WD103CbGpWvH qZ3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=T1ZkI43ouhbZimT/6Sz/nQ9W4boKtYozaB6hBMysMKE=; fh=cyTtCxWNNWjbmQCbLB20n5Wb3iyni5RKXxWgR8o20ls=; b=JCKv5opdnMP2JsyZmxFfo+FBd67gDXcz2NLhiN+PSBem1IiQWaL1AA0FF3ENHO6/ml 8SspH+N+9o/kE2KRjrbu9nCaDhZURvPEKu/ZEhGfkkJyTrqbn6Rl7ppmZ3sALBaZ7oG7 2SITPLJs/ex4/PWnlaroeJIP2RnuE5WiiO/iAFyHuOoTwRSzoGNN+GzC1dCmbRJsWtah D+OE53PpQoNFXo6qrbfN2eX4moXFIMl9P7M7dO0at9Cg0evsQ3B8D9Z2Ar57BmxZUiE2 4wM1NW8WtpePwOT2oSvI/T/0n0dL/imaL+97aDULeKRmF2odYNFNiePXvGs2uEbf5jOu +6ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=KWs22mke; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=KWs22mke; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-167467-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167467-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p16-20020a05620a22f000b0079086bdf9efsi2678977qki.86.2024.05.03.02.32.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 02:32:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167467-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=KWs22mke; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=KWs22mke; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-167467-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167467-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1EA821C21E24 for ; Fri, 3 May 2024 09:32:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCD9314F9D9; Fri, 3 May 2024 09:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="KWs22mke"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="zgTS9KJj"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="KWs22mke"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="zgTS9KJj" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 625BF14F13D; Fri, 3 May 2024 09:31:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714728694; cv=none; b=cQs1iebt6GfhNg74UwlqK2Jsu81o8uCun+Q14grMVxSTCfADk+NKKlHQy0c4ttGu1cgsd0Dt9fl2Lf27nlAOlhI3bS4B+2gmqVRUFFYuSYtLd78o8E4B7ZG08VmAGOKJKwjLGbCRwnHmMiKVqO3UrL8EzDf+na86fmtQGQ9AuIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714728694; c=relaxed/simple; bh=E8PY2B1wxIN5xa8VCdlxWFkp+3+YoCtDnoiZN05+rcI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JVhT0DKm8FeEfRyFvqyjTnftERL3XWMvOavu4B+ctUZ/epmF23YawjD51B0d7NDPJWE1Ht7l5K+7RWQyYrCh1BgFHSZyGpEIQmIdpLe/O1215YWzE5GkWNM9BXAQog9EIfylcB/GK+0KTD5hPOWbgAQwAafJSooGQh+bD9CPMsc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=KWs22mke; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=zgTS9KJj; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=KWs22mke; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=zgTS9KJj; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 75E24336D0; Fri, 3 May 2024 09:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1714728690; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T1ZkI43ouhbZimT/6Sz/nQ9W4boKtYozaB6hBMysMKE=; b=KWs22mke9uaE7QySPC4EkPDeE+dueH0WTYyUZMx4GAiNIzNsHy9KKRBDwslrT8TLMm1HxD zeapumC745oRo9QQyEMD+j8x/YV+Vq5r+eYH3O2DxD/7/jvtNyXQCUbCpPaPsCtANRGJTm FEQylR04QxJBiFPdfaZ/+OGtlsMap4k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1714728690; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T1ZkI43ouhbZimT/6Sz/nQ9W4boKtYozaB6hBMysMKE=; b=zgTS9KJjYD1/sY6qc8iUMd4jwopzfuHTIKYMrcU5kR63QesMiyBb9gtJdB6F5c2KQYvaiG nxIviKrSk5y0eNAw== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1714728690; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T1ZkI43ouhbZimT/6Sz/nQ9W4boKtYozaB6hBMysMKE=; b=KWs22mke9uaE7QySPC4EkPDeE+dueH0WTYyUZMx4GAiNIzNsHy9KKRBDwslrT8TLMm1HxD zeapumC745oRo9QQyEMD+j8x/YV+Vq5r+eYH3O2DxD/7/jvtNyXQCUbCpPaPsCtANRGJTm FEQylR04QxJBiFPdfaZ/+OGtlsMap4k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1714728690; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T1ZkI43ouhbZimT/6Sz/nQ9W4boKtYozaB6hBMysMKE=; b=zgTS9KJjYD1/sY6qc8iUMd4jwopzfuHTIKYMrcU5kR63QesMiyBb9gtJdB6F5c2KQYvaiG nxIviKrSk5y0eNAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 6C6E9139CB; Fri, 3 May 2024 09:31:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id aB53GvKuNGaqMgAAD6G6ig (envelope-from ); Fri, 03 May 2024 09:31:30 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 365ECA0A12; Fri, 3 May 2024 11:31:30 +0200 (CEST) Date: Fri, 3 May 2024 11:31:30 +0200 From: Jan Kara To: Kemeng Shi Cc: willy@infradead.org, akpm@linux-foundation.org, tj@kernel.org, jack@suse.cz, hcochran@kernelspring.com, axboe@kernel.dk, mszeredi@redhat.com, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] mm: remove stale comment __folio_mark_dirty Message-ID: <20240503093130.kxbolkashbezb2sx@quack3> References: <20240425131724.36778-1-shikemeng@huaweicloud.com> <20240425131724.36778-5-shikemeng@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240425131724.36778-5-shikemeng@huaweicloud.com> X-Spam-Level: X-Spamd-Result: default: False [-3.68 / 50.00]; BAYES_HAM(-2.88)[99.50%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_SEVEN(0.00)[11]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[infradead.org:email,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,huaweicloud.com:email,suse.com:email,suse.cz:email] X-Spam-Score: -3.68 X-Spam-Flag: NO On Thu 25-04-24 21:17:24, Kemeng Shi wrote: > The __folio_mark_dirty will not mark inode dirty any longer. Remove the > stale comment of it. > > Signed-off-by: Kemeng Shi > Reviewed-by: Matthew Wilcox (Oracle) Looks good. Feel free to add: Reviewed-by: Jan Kara Honza > --- > mm/page-writeback.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/mm/page-writeback.c b/mm/page-writeback.c > index 22e1acec899e..692c0da04cbd 100644 > --- a/mm/page-writeback.c > +++ b/mm/page-writeback.c > @@ -2721,8 +2721,7 @@ void folio_account_cleaned(struct folio *folio, struct bdi_writeback *wb) > } > > /* > - * Mark the folio dirty, and set it dirty in the page cache, and mark > - * the inode dirty. > + * Mark the folio dirty, and set it dirty in the page cache. > * > * If warn is true, then emit a warning if the folio is not uptodate and has > * not been truncated. > -- > 2.30.0 > -- Jan Kara SUSE Labs, CR