Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp166583pxb; Tue, 24 Aug 2021 23:42:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzmfR6Nid6YKZjxyESuB5a3dTnsW8gifHAnO7HL2G0xtCDqXdMUEUqolWlJQd8xln1eJbh X-Received: by 2002:a05:6638:974:: with SMTP id o20mr37802235jaj.10.1629873738271; Tue, 24 Aug 2021 23:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629873738; cv=none; d=google.com; s=arc-20160816; b=sex2X+m/U8hk2jwzL6/+yDMkxFgPFvaRgznV5pz/oWBXHnwkLzA0tBoQLPv2+cc1fV B0bWTRJrxyP3TyTldtU0YQs5DVbr5sxrFyT9UzjwfJmNTx9DfOF9KAjMS/OmRosNQ3y6 JKGrn8e7H8ahHHaaOtmH+OQyAu3gE3TbRPcfGTpKTDJA6ddF0UXby8i2+mHDBV3rGW2A 0aG8odpjXOSfMPuK2lcHOFKemOxOdIodqb7X2x5gZS4giGnCDfq49CYVyVvuJNt9byf0 R55SBZDowv0cBqkeD1Vhk3ey1KAajpIeLaTwA9O9gg031ZwrMOulRXpJtPbe9XUC6b9g hqvA== 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=wwqc+zlpZGVWv443QpD/4AYHkmaNpxQkxiVuNbJuNzY=; b=pVRUavdb/WUF9oQ6aFylsR2FYbq3NsL7qLvPqFqNpZd8x/RjDq+HXVcPK31lIeDzW0 C5S0W+urcqRm/4qIAgkUfYWarPbr/CpmRx0YM4Hm9j7eZPs033H/tvHLq2G95eBxOzp6 YFJYfLDI7EQxdk4qANc0P4S7qpcQMZ9/aTgNyWjdgpY0q5313MMhL9/6ClBb8wwvQ+KR EgCG6o8SnJ+44d8mLUQhHsVKnQARAqc8qDRoDplTealgKA5of222XQNLKLWPjpoJuzB1 YLMrf8iWdfvYIHD8yZE1HRY0ri3HpVBvy8cHmgCRNzw0zjBDR+TNTSlGDA1tx8Wtf2i0 zuLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="WHUZ/i1h"; 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 w21si18621373ior.60.2021.08.24.23.42.06; Tue, 24 Aug 2021 23:42:18 -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="WHUZ/i1h"; 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 S239061AbhHYGlc (ORCPT + 99 others); Wed, 25 Aug 2021 02:41:32 -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.