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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 CCBA0C433FE for ; Sat, 11 Sep 2021 01:23:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0B8C61212 for ; Sat, 11 Sep 2021 01:23:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235075AbhIKBYk (ORCPT ); Fri, 10 Sep 2021 21:24:40 -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-Google-Smtp-Source: ABdhPJxtZY/KCpu89PNzdv+QdbNeRfB7TooMICYo8cBT5ONUxDVhUaQeoToWaG3xicjMUmSINR0udQ== 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