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 1773EC433F5 for ; Sat, 11 Sep 2021 01:23:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 82EC261216 for ; Sat, 11 Sep 2021 01:23:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 82EC261216 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 9225B6B0071; Fri, 10 Sep 2021 21:23:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8D1466B0072; Fri, 10 Sep 2021 21:23:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7BFB0900002; Fri, 10 Sep 2021 21:23:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0044.hostedemail.com [216.40.44.44]) by kanga.kvack.org (Postfix) with ESMTP id 688DF6B0071 for ; Fri, 10 Sep 2021 21:23:27 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id F0E3E82499A8 for ; Sat, 11 Sep 2021 01:23:26 +0000 (UTC) X-FDA: 78573544812.14.C28AAA2 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by imf23.hostedemail.com (Postfix) with ESMTP id AB7EC900009B for ; Sat, 11 Sep 2021 01:23:26 +0000 (UTC) Received: by mail-lj1-f178.google.com with SMTP id i28so6070875ljm.7 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=oeJnKTtz1I7pZVDyMYtukGVx0HnHDoQKOkLSwpJny8pdZv4WvTcrOAqgRdhBJRp3HW /Z7pq0xwaseWTGeUkWEWDK0URKsKZE0wRkxQmM6dgwGtn4Cr4wbbaoDxXXyq/227B8KF hHl6FNySbf21IGVMpAsyQJ86CQRP6pY33P/qOzlIqM9k/uefwV0g9VlYv28EF0Hbgy9P mEhiH39ica8KwGYS15cQRbKyoohu6UkhCI2pNj/8OKUcSQLAD87AJS+i/2DJqesPlo1n L64ZRFPMHclusSSd0myWoarhOCQHMb3jPy6cNMkIlDAf4DFyNPx2bv+5MiQTfq9mXslW IwVA== X-Gm-Message-State: AOAM532l+u/lZkYyb49TAx22mn7iDhpmtSh9Py21TvPXCFH77U9+nuKk hz6UYu6MwiXFuzfS+wp357tYhg== 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: Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=jCX9zDMo; spf=none (imf23.hostedemail.com: domain of kirill@shutemov.name has no SPF policy when checking 209.85.208.178) smtp.mailfrom=kirill@shutemov.name; dmarc=none X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: AB7EC900009B X-Stat-Signature: 99om4bipceajbqs7q53crim61zotpp7n X-HE-Tag: 1631323406-133679 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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