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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22A4FC433F5 for ; Thu, 21 Oct 2021 12:45:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 097A061208 for ; Thu, 21 Oct 2021 12:45:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231204AbhJUMrh (ORCPT ); Thu, 21 Oct 2021 08:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231183AbhJUMrh (ORCPT ); Thu, 21 Oct 2021 08:47:37 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9E7C06161C; Thu, 21 Oct 2021 05:45:21 -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=MhYSZk7FAb+xEHuiCzqmgFseK1YofUw99Jp2bva3xY8=; b=wVbv7NUbTjE8dMe69LJ3KyJhcb 65x7KsMVnnOpwDx2m5nASW/7LO2m9m+V1QKkFSqW//U1b1RijQxuQlUD4PrsbfPRP6RDx/wdevlOk 3T8UwJSjKBVgfKaiDNrCbShQAcmagdvdObG0SVx9XlDZd4fNSD3LGTEytVpaeiKdMF6Y5z1hzz8so Z513j9bejFZRpj1FG1m5QySDRgw23NQi0vNt13lbT8UgVLuqlBz2hyp6hKQ07pkTh3zRx/nyAAsXD k3wZ1SHfCI8//EYUi6XCQJr5G0mxUKylt8S3s+/ky0BTdnO3Tu6gWpvIqOZKk3nbr/D46Gxk92xkR NSjXSV9g==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdXON-00DGl6-Rc; Thu, 21 Oct 2021 12:42:41 +0000 Date: Thu, 21 Oct 2021 13:41:55 +0100 From: Matthew Wilcox To: David Hildenbrand Cc: Kent Overstreet , Christoph Hellwig , Johannes Weiner , "Kirill A. Shutemov" , Linus Torvalds , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , "Darrick J. Wong" , David Howells , Hugh Dickins Subject: Re: Folios for 5.15 request - Was: re: Folio discussion recap - Message-ID: References: <20211018231627.kqrnalsi74bgpoxu@box.shutemov.name> <996b3ac4-1536-2152-f947-aad6074b046a@redhat.com> <436a9f9c-d5af-7d12-b7d2-568e45ffe0a0@redhat.com> <2fc2c5da-c0e9-b954-ba48-e258b88e3271@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fc2c5da-c0e9-b954-ba48-e258b88e3271@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Oct 21, 2021 at 02:35:32PM +0200, David Hildenbrand wrote: > My opinion after all the discussions: use a dedicate type with a clear > name to solve the immediate filemap API issue. Leave the remainder alone > for now. Less code to touch, less subsystems to involve (well, still a > lot), less people to upset, less discussions to have, faster review, > faster upstream, faster progress. A small but reasonable step. I didn't change anything I didn't need to. File pages go onto the LRU list, so I need to change the LRU code to handle arbitrary-sized folios instead of pages which are either order-0 or order-9. Every function that I convert in this patchset is either used by another function in this patchset, or by the fs/iomap conversion that I have staged for the next merge window after folios goes in.