From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 650513A4F51 for ; Wed, 13 May 2026 05:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778650582; cv=none; b=Gy614pthAMEtKLNmU7aN36stgtA66+enUdVSnhDxsMeadI/nCggJ7uyKOybcxk3ss+KgxDewyxPc+I603Sdh1AOHGMdKABNTwHOLTbLVm+xIjfDAUWQuac3sK3XyIjRa6dxE8L/OyQKPDMZ07rsTwWY+SiuCZX4OZp6nnpq7tc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778650582; c=relaxed/simple; bh=YvdBIChEYtxFrXjybyRs/8khFHxwLl94PC0ldOSLcBA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fl59t7aNmhG46PeOF4TX2bQcK8/Sq9ZWXcUAmdUGXDrfmeVzoYfnX3bZ65JT5jv3uHuKBEwRxq/2daNhLPDa5qqeABo8ZSa7qBEYK8t91pL8moTeC8EpXVyHDhs04LA65dVFnIsvW2Ogzjtnk4unwsrbiTFuur/warWTdHL5c2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=s64JdsS4; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="s64JdsS4" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bYKVLf/5Vi3tUNISsTYQhI4iQy2g6Zv2Gv0Zs6YsiZA=; b=s64JdsS4gNwQfw4iw/Njbqur8p 9S15kv257KlxUEwa9v37au05fjRNgQaM/8hiOyh2pF3XQep21Be3BHhg/f9y6KEa7MuS56lWLU1W+ 5F1XbIrS5yCr+Kc4z1Mm2gBb9UzCYVxgyHOTQC8vGVitDy3isKmsjri87xIp+X/NBU+E1JV4qo/o4 rcjYPNX3sS3zRGGiiCkJDUoCv3ioEmWeCfdvqpawntOL0XkNbcv+k/thwmzhMDgSDZDdV8w4AnXhL 95G84bsvYfA51aFmY1CXzRv5Ae+LPUXBQNBHaXLHt7suLQZwhVilYW8B2+LMT/mvr3jHlevjRXcog GgtgWp/Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.99.1 #2 (Red Hat Linux)) id 1wN2GU-00000001L8I-2TIV; Wed, 13 May 2026 05:36:14 +0000 Date: Tue, 12 May 2026 22:36:14 -0700 From: Christoph Hellwig To: Baoquan He Cc: linux-mm@kvack.org, akpm@linux-foundation.org, chrisl@kernel.org, usama.arif@linux.dev, baohua@kernel.org, kasong@tencent.com, nphamcs@gmail.com, shikemeng@huaweicloud.com, youngjun.park@lge.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 3/3] mm/swap_io.c: rename swap_writepage_* to swap_write_folio_* Message-ID: References: <20260512104201.716213-1-baoquan.he@linux.dev> <20260512104201.716213-4-baoquan.he@linux.dev> 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: <20260512104201.716213-4-baoquan.he@linux.dev> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html > > static const struct swap_ops bdev_fs_swap_ops = { > .read_folio = swap_read_folio_fs, > - .write_folio = swap_writepage_fs, > + .write_folio = swap_write_folio_fs, > }; The convention for method naming is prefix##method_name, i.e. swap_fs_read_folio, swap_fs_write_folio, swap_bdev_sync_read_folios, etc.