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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63A1FC432BE for ; Wed, 25 Aug 2021 06:40:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 43C03613AB for ; Wed, 25 Aug 2021 06:40:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239078AbhHYGld (ORCPT ); Wed, 25 Aug 2021 02:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238560AbhHYGla (ORCPT ); Wed, 25 Aug 2021 02:41:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE461C061757; Tue, 24 Aug 2021 23:40:44 -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=wwqc+zlpZGVWv443QpD/4AYHkmaNpxQkxiVuNbJuNzY=; b=WHUZ/i1haxgYWOz/PEBlGBLX++ ghSazm9VoZ/t+9OplOg6sDgUbKJu5h6aKxmGAiFnJeqWpcYpgS8Yq2yvZGEzzexoZd4NQx2Si4qsZ spEMZATV2k6j74ih9qBI4JpKg1fPh0fYN7EiphdjD7IKDpvP4YhCUYvFn0MYDX059LOxNcwm6REd6 SsFz1xZppsSvJJTHaZeCA3k8YX0TlH9SNSf1M23MoYYBnBPd8wzmQVVjSzSZmrcDnq61POMRZlWfU UiJ1yq24wmlAkg0of1QvBzXo1eTXC6EAgkwww4NLJmLSSt42ScqO4Q/9W+8rj/QWIGy/p6fX0n4fp CdTUsV1Q==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mImZ5-00Bz9a-22; Wed, 25 Aug 2021 06:39:25 +0000 Date: Wed, 25 Aug 2021 07:39:11 +0100 From: Christoph Hellwig To: Linus Torvalds Cc: Johannes Weiner , Matthew Wilcox , Linux-MM , linux-fsdevel , Linux Kernel Mailing List , Andrew Morton Subject: Re: [GIT PULL] Memory folios for v5.15 Message-ID: References: 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 casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 11:59:52AM -0700, Linus Torvalds wrote: > But it is a lot of churn. And it basically duplicates all our page > functions, just to have those simplified versions. And It's very core > code, and while I appreciate the cleverness of the "folio" name, I do > think it makes the end result perhaps subtler than it needs to be. Maybe I'm biassed by looking at the file system and pagecache side mostly, but if you look at the progress willy has been making a lot of the relevant functionality will exist in either folio or page versions, not both. A lot of the duplication is to support the following: > The one thing I do like about it is how it uses the type system to be > incremental.