From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 228E9FA373D for ; Mon, 24 Oct 2022 21:59:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231564AbiJXV7e (ORCPT ); Mon, 24 Oct 2022 17:59:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231977AbiJXV7N (ORCPT ); Mon, 24 Oct 2022 17:59:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D916A102E; Mon, 24 Oct 2022 13:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=zfO+51g+SbzjZHZNrypaeeN+vqvnYBv2zA15JUzr234=; b=RaqCnNQ9CnKiZqVCmkN+ZH26es kLhgdeh0QnjBCfJ9xLm3bfufPC+onpDpuX7yC57WcUgCWboa1sRqIpUQkaEy4rcWg0deJJkTrG9u+ xXp6DPSVRNIdNXEj0v1zthipBMUcrfkJ57SL1LP2AxnvL9I5+1qg9irKUKJ3zBt+VEEu7V2Qj1xHx iSoekSSnChWmNwUEq/ZKwqlzS25sZPdvz/dljAvXqfrWGncDV78lZcLCIWkfBrIqe9bJfcs12ezDH xxm0RAaFJN7/Pg5LrccD+kzmwLerXwWzlEb5vczrVE1CH+jszY4G6TIyzPH1GguKPCCgf/96pexJS Z5w3nhPg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1on3nm-00FibA-CJ; Mon, 24 Oct 2022 20:12:02 +0000 Date: Mon, 24 Oct 2022 21:12:02 +0100 From: Matthew Wilcox To: "Vishal Moola (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-nilfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v3 04/23] page-writeback: Convert write_cache_pages() to use filemap_get_folios_tag() Message-ID: References: <20221017202451.4951-1-vishal.moola@gmail.com> <20221017202451.4951-5-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221017202451.4951-5-vishal.moola@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Oct 17, 2022 at 01:24:32PM -0700, Vishal Moola (Oracle) wrote: > Converted function to use folios throughout. This is in preparation for > the removal of find_get_pages_range_tag(). And removes eight calls to compound_head(), saving 296 bytes of kernel text (!) It also adds support for large folios to this function. > Signed-off-by: Vishal Moola (Oracle) Reviewed-by: Matthew Wilcox (Oracle)