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 09FAFC433EF for ; Thu, 21 Oct 2021 12:44:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 856B860F46 for ; Thu, 21 Oct 2021 12:44:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 856B860F46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 14A8C6B0071; Thu, 21 Oct 2021 08:44:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0FA97900002; Thu, 21 Oct 2021 08:44:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EDC856B0073; Thu, 21 Oct 2021 08:44:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0216.hostedemail.com [216.40.44.216]) by kanga.kvack.org (Postfix) with ESMTP id DF4DE6B0071 for ; Thu, 21 Oct 2021 08:44:51 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 9F47D2C6A6 for ; Thu, 21 Oct 2021 12:44:51 +0000 (UTC) X-FDA: 78720413982.05.E50741E Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf25.hostedemail.com (Postfix) with ESMTP id 7A317B00008E for ; Thu, 21 Oct 2021 12:44:46 +0000 (UTC) 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> X-Stat-Signature: ue39hgs7h57egj3494u6eue7wotk67kd X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 7A317B00008E Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=wVbv7NUb; dmarc=none; spf=none (imf25.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-HE-Tag: 1634820286-217500 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.