Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1928471pxb; Fri, 10 Sep 2021 18:25:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/5JeSK3E7kH3JgKNQT6SaIT5Kl8ape2i/A8AYEGhs4ImuuAxvIX9rI0AP5UdF/Cr7607d X-Received: by 2002:a05:6638:619:: with SMTP id g25mr493905jar.38.1631323531610; Fri, 10 Sep 2021 18:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631323531; cv=none; d=google.com; s=arc-20160816; b=He/wcy9jEkMn0XkQbWyFzZzF+EGyXjzciUHDdGRN5s0gdjyLEzpQiUt6r4R/A/EPBN MIIfHiqcGFZKe3w0VC5LffPB6atyNIIf3VpiKWoj16jTvl0pn+1flhq56nnN7nFRnqZZ 37CtWD+ojPed7YPV0p56aY9uMbepYkqKsU0FoXHWJsBkKQnSmu8xyLHdewc1QoGzeoh2 PeMPaz/bmnnMW8fm69su8oP6U571ZoFTQuSo89zA4OdAefj4LIwpz+6QkmpoeIOv4vdf c461BGOUrUHUNoH4AuGuBeUKUMPS+N1LlfCbhEIAEnf/R22x9T36QQCGJUWzvHhgsyNO JD6A== 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=4IZXGqyyPS/3gl1bsfFMnsNboMEKQsnCSzncunEclBM=; b=mQTmT2AnnlHaA7B7dS5vRMODnrnRCmI9GB0SIFcQ4ximuNZtMMrP7DeOkM1WUHhvzI KXxE0FdEW3aw1u2ZN3VdKtAuRqavtZNtS6CllnPfqyM21pYyKtT7S4qSMkAxPIbKrEwM vWiIUQkPfTpAsuSqswKNz10eqK2aZSJPPN07KDA6mKPql3OHx2Xrg+cMktwvEQLeG7+j gfRBEowgcfX7uESyTuVbdwgiwFB+10FKVMhbrvcpq6ITXnwFG9bYBlx5HOGlAUhJqwUX U7Niwdl9XdlBwev8m8a6cY9rfncFxi9sMwffl32NyUl7kcP0DME0sQqsri/kItptOnI4 dO2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=jCX9zDMo; 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 t42si399275jal.13.2021.09.10.18.25.19; Fri, 10 Sep 2021 18:25:31 -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=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=jCX9zDMo; 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 S235051AbhIKBYj (ORCPT + 99 others); Fri, 10 Sep 2021 21:24:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234989AbhIKBYi (ORCPT ); Fri, 10 Sep 2021 21:24:38 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A21C061574 for ; Fri, 10 Sep 2021 18:23:26 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id h1so6053728ljl.9 for ; Fri, 10 Sep 2021 18:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4IZXGqyyPS/3gl1bsfFMnsNboMEKQsnCSzncunEclBM=; b=jCX9zDMo49nOV3IOfezERHmktfCTBaQmMBv9QK1ta5zGQvukqzL/gDxAxIelisPUT9 BU5p91qDXyTEypoJxnHJoMqpSZTMd1Gfd/qFrJ3+Hx0G/3Jj4mb9qWgcZLItSTEVxvDM fRukEQ9K9oPJKZI+PwlcuAnJ6v/jIZs2MN7ufHRqf7C6g1B1BJRJoWwna8bNsVM8LAGJ 9dR5JbJamURRO0wJM9Tz5kzHF7zekW19L1Ya6Ymsp+j2wVk6S/zGw8yyJR16qvaKlyd2 Lk1PfqAixr4bbpyOaS6nKeDJj7Ow7saZ4q30NPJ/pyp/nAaKFriyKN9mbBfJrhIZHgbL SPSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4IZXGqyyPS/3gl1bsfFMnsNboMEKQsnCSzncunEclBM=; b=UZKB/6zxHBkHc5Bn4n3psEeYFVK1tnXIBPfpwnLdxRzf2u44EgHq///1L0qiNNAI7v TuW9jMAfW9AvhPZ5NPhZz1RxkL9DilHIXe5SwFwi/kT4hR/TbIYWPgCLDVV9WmgiYb8+ Ty46MTqT/4s5Qa5USIszbEd/ZN4BdyeXf1S0p//KQZXKmYkVfIEByUfpI3kLpyYe59Js 1VQuYNtcV4p999kTJkEToQjVZEJBdmTKqRgMFicKTVQjj8rMX+Z6JaVY8DcuGdVCfIAM NvOaPeRXnhkAdhLI5EMb0W/lHksyJV+2YNJZMhJxycA3ZSrjDyixWPhnog/3ofwkU5ev LzAw== X-Gm-Message-State: AOAM530p5Z9p6TFeVMnRBPsmeODUe5w/geF99oBI62Wq+68AY3TDOr2F hTAwp5oUo8halKSdtO1NMRt73kS76GKqAg== X-Received: by 2002:a2e:9bc2:: with SMTP id w2mr395498ljj.266.1631323405005; Fri, 10 Sep 2021 18:23:25 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id u15sm38657lfk.26.2021.09.10.18.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 18:23:24 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id E7F9A1027D1; Sat, 11 Sep 2021 04:23:24 +0300 (+03) Date: Sat, 11 Sep 2021 04:23:24 +0300 From: "Kirill A. Shutemov" To: Kent Overstreet Cc: Matthew Wilcox , Johannes Weiner , 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 Subject: Re: Folio discussion recap Message-ID: <20210911012324.6vb7tjbxvmpjfhxv@box.shutemov.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 04:16:28PM -0400, Kent Overstreet wrote: > So we should listen to the MM people. Count me here. I think the problem with folio is that everybody wants to read in her/his hopes and dreams into it and gets disappointed when see their somewhat related problem doesn't get magically fixed with folio. Folio started as a way to relief pain from dealing with compound pages. It provides an unified view on base pages and compound pages. That's it. It is required ground work for wider adoption of compound pages in page cache. But it also will be useful for anon THP and hugetlb. Based on adoption rate and resulting code, the new abstraction has nice downstream effects. It may be suitable for more than it was intended for initially. That's great. But if it doesn't solve your problem... well, sorry... The patchset makes a nice step forward and cuts back on mess I created on the way to huge-tmpfs. I would be glad to see the patchset upstream. -- Kirill A. Shutemov