Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2412190pxb; Fri, 22 Oct 2021 22:20:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybYpr8TKlCGHWhHdzQv9i60CY1UDXA3gJHte1P6YFa6ujumgFV4vYs8Eem0f5rgYOxFgv/ X-Received: by 2002:a17:90a:c688:: with SMTP id n8mr19758438pjt.131.1634966423731; Fri, 22 Oct 2021 22:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634966423; cv=none; d=google.com; s=arc-20160816; b=GsggVXLhZ42VsuIGwQ5XIr3gRn3ScuEt2fJVnb8W/seCh7RRSoln6o62dD7wn0wW+w x6kpwqo0y1ioMwsyMJQL1oUZYWz2ss2q28eNKrGwudhS/xkzt1M/Yyv8XDwQtNqBfCFg oXVmixKQUrbgX4WsvElw+LgAb6PwTMlWxjlXJi+MiprwMYGuh1+u/apL1+i1Y4MIoMI6 wiJik/oU2NRRGHrcPo92Whra+/Xl6yh71JsMZRyboqXfR+EBQpMTXoJm49B1qMxPKpdQ 1/PBFeQyL7rqsFCWtCQRkZBCKWJtwqkZOGWpQeiliCOuVgNOtbIvTZ70lr7h85lXPur3 4EUw== 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=hKfR3/ryyitNRCxx14thpt1Pe6SRC47enbuHQnqPb6s=; b=bwtCfUbexz4QWg617bMfg9dajnU2ap5KD2Bs6TaceergveILOFae23lu7fXBXb16k9 thW09SpCYKpzYoFOI+IYsmoXmLhznnjCMQySHsgM+vB05KA+1AAd0JJ3fsZu87ngAtER 0FwVEU37qqL1RVjZCoGRfP5jJwW17U8UnHgZQOIb1eI7Mi4jbU53JywjxVRBvdpy2SZp kZrXaIvuI+BpAQfpZG8z3kJpmbvfBrZu/chonyejGHt7XBhrrwPvmG6Svh0B1LL1+UO7 +hFPPN/f8NDrLUAJokehd1a3QuK8BelqW1dQuuMOGSUoV4XvuvRVlTFuDklbWPR575tK ZsNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ecpD4Qwj; 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 lx2si21309284pjb.20.2021.10.22.22.20.10; Fri, 22 Oct 2021 22:20:23 -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=bombadil.20210309 header.b=ecpD4Qwj; 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 S230267AbhJWFFL (ORCPT + 99 others); Sat, 23 Oct 2021 01:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbhJWFFK (ORCPT ); Sat, 23 Oct 2021 01:05:10 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08DECC061764; Fri, 22 Oct 2021 22:02:51 -0700 (PDT) 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=hKfR3/ryyitNRCxx14thpt1Pe6SRC47enbuHQnqPb6s=; b=ecpD4Qwjh5T3agQ5qTTl8GtazS w8HThPRzeXp2YcS37McMWS94pO36xXo9FG7zvEhc06IFsxSbb2Qwlo7FtOje/iP67fHEZg64yh3vi Mm5TaOJFNsqbf3MjFPFmmsp6iFcOcCKyd9Mafs/Z3z1nTJ0coG3N/xzJ/dpYyTfapY1HadzEXakKI bVw8DDn5qKYrD8XMGtYjvwvM13VlF49ex+gPSA2+TzT7cOpsK/u/V2jKSqnSQ8YWLdSDNbi/JUhmW blKvlxteuJ2MNVZatZET1jlnTSEGTVZpI5E4A3w1fCxoV5NNR66RLiS3yXsSdCPoIt5JorLe8TTVa KxFz70TA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1me9Av-00CHxV-Uc; Sat, 23 Oct 2021 05:02:33 +0000 Date: Fri, 22 Oct 2021 22:02:33 -0700 From: Christoph Hellwig To: Matthew Wilcox Cc: David Hildenbrand , Johannes Weiner , Kent Overstreet , "Kirill A. Shutemov" , Linus Torvalds , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , "Darrick J. Wong" , Christoph Hellwig , David Howells , Hugh Dickins Subject: Re: Folios for 5.15 request - Was: re: Folio discussion recap - Message-ID: References: <20211018231627.kqrnalsi74bgpoxu@box.shutemov.name> <326b5796-6ef9-a08f-a671-4da4b04a2b4f@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 23, 2021 at 03:22:35AM +0100, Matthew Wilcox wrote: > You can see folios as a first step to disentangling some of the users > of struct page. It certainly won't be the last step. But I'd really > like to stop having theoretical discussions of memory types and get on > with writing code. Agreed. I think folios are really important to sort out the mess around compound pages ASAP. I'm a lot more lukewarm on the other splits. Yes, struct page is a mess, but I'm not sure creating gazillions of new types solve that mess. Getting rid of a bunch of the crazy optimizations that abuse struct page fields might a better first step - or rather after the first step of folios which fix real bugs in compount handling and do enable sane handling of compound pages in the page cache. > If that means we modify the fs APIs again in twelve > months to replace folios with file_mem, well, I'm OK with that. I suspect we won't even need that so quickly if at all, but I'd rather have a little more churn rather than blocking this important work forever.