Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp590090pxb; Thu, 21 Oct 2021 05:49:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy63FGHJs3FeNCUREuFvTESE2thzW/Mii9Z/tSkvuag07JbQVzL9LOmWmJOPSG6YC7EwHHq X-Received: by 2002:a17:906:3745:: with SMTP id e5mr7301615ejc.400.1634820579455; Thu, 21 Oct 2021 05:49:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634820579; cv=none; d=google.com; s=arc-20160816; b=BuuMAdAyJaeTuU2OADM3f0CfXdqgTEc9vRMAKqNGw0+9rDK68qkZbBW9vKIqWN/IMV V6OZ5Lq/buMQT6X3c6TzisD/0/gQsm3EVqeLQwoAVRh79kZaJ/9Q6qa1Fs7YrNA/q7EN Q6SA/Iq2fp8g4r8sggKkpUecAitpYPvLXwyvUE1xtkz41OgVdMKIyi4YMSlmyvclpoAH JFldQOP+T1nPluMXRC+jYd0HmMXOtdB+WEc0YtSePzKVCIO0c+q7MTFktgKosSb2Xa7I ytYN06KmeJFkax6BdCZ7JF7mLeZN+WgE2qjlgOZ5UZQ1KDpZ79tDl530ovyc4KFIWaVa bYMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MhYSZk7FAb+xEHuiCzqmgFseK1YofUw99Jp2bva3xY8=; b=DM5Dj5k7t1KPFPkrB/AdNUczZwRrrLWmGVRIm3ah6kjspmyNqVBK9kkgjaRSYwf5xF 5VY8/L0dIwysqH9lJTHb+WyGB17zQjZjkxK2B6I+/BxcdOCs6LgmYh6NzPHSkNm4Zb5x gMeRtvkd/Vad+XyAk/KQk74uq632BeRkpFWEeeCR90uq8qwx756VZ5Kdt4ib3j949M7q pQk6axsUGDKqU3rdwrWNUmvYR9FHHn4NDNY7TqlQAmYHBPmMhW6k7N+r8rl9+4KHapfd euFBeHQN1Pmkt1Fb+hE3AMJTuUyqG1M5GX6zlM9j0X/Yfx70Jdk8cUrURWYJGFPmu7BA 3gqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=wVbv7NUb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si6914809ejr.90.2021.10.21.05.49.11; Thu, 21 Oct 2021 05:49:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=wVbv7NUb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbhJUMri (ORCPT + 99 others); Thu, 21 Oct 2021 08:47:38 -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-kernel@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.