Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1624072pxb; Thu, 16 Sep 2021 11:22:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRjdqoOnrAnJGxCJep8jPK2j1E40zQu6mSaslc5P10pDUW8uj1idevPZdyHVHfgXAOGcpt X-Received: by 2002:a02:8189:: with SMTP id n9mr5507545jag.107.1631816548943; Thu, 16 Sep 2021 11:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631816548; cv=none; d=google.com; s=arc-20160816; b=r4I9blETwRQ6R9ETwXjSlcn61udE4a+pwdfrI6vNSFCvwYD1bdLOwRpT09O3qLiSEN SmUBT0vEazu1tIK2Tc6s9jb/4PnlxenQ1rpRNC5oF1RDCoF4TDPdfJOO85dquVquwl2t 9FeGx10VfFZ1Vr9nMuWvewIgLDARsUN+2dM8YN+gQrSqswyKO7vB5zmoXDbcEh8PefPS uJDYmbbMlPGGKdyjKWk45ORDnOwi1D6auXW9LVce8jyYdZZrH3Nq2aJsvGzGeBjmJDke zCEksnnBuBSwGIadsGFWYFTQDH/fXs+IZEnvN+sf90jjwS43MQNRZbbCjO6MMhBCtSHX l4MA== 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=yzjiBidds/95jlWbsteDw2s2y+zSZ8imjzQuCnBCBaI=; b=T1YPS2lJPIcdPBSSwahkVf9/HpzjrVZpGw59OeHNqdF7o0MsoOpDo3VW/4nninAK4D murSy1fF6FpIsXTrBS6sDRUWyaA6JwMqr39qba9ybw/ymWo2H3/Z9C4WsD1rYFpRKpzh Fd0kL05CwK/gKt2eqGVPClSUXwJAtHm02ScB115aUNQn1GMk37ksnm3LcFyhGLXbQmBt oXhWfK4dBDgiq+UTa7VfaGUYhrA18cV8Erh//Qche7fCrM2NEN0I53Ae6UxDLc2MZ+GP exR70HS7G8SPhgEA3FwWf7EIgcrh06WT3Gzh/lbuNWVjGKd1/OKsJ7DfgwGnpwLZje5R REGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Z31pcMT9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si3584823jat.122.2021.09.16.11.22.16; Thu, 16 Sep 2021 11:22:28 -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=@gmail.com header.s=20210112 header.b=Z31pcMT9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238937AbhIPO5C (ORCPT + 99 others); Thu, 16 Sep 2021 10:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238956AbhIPO5B (ORCPT ); Thu, 16 Sep 2021 10:57:01 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1C1CC061574; Thu, 16 Sep 2021 07:55:40 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id s15so5727050qta.10; Thu, 16 Sep 2021 07:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yzjiBidds/95jlWbsteDw2s2y+zSZ8imjzQuCnBCBaI=; b=Z31pcMT9ANsg+mMJt2zHhGrK0/omw8WoaeWhOTTXgviGIO3x2aGgnZhUauKxpWhtJ5 YOm3X/Mnh0el/Fczl3kbOPZNhOJN3Eg/6Gmj3ItsBNhxwseE08p+3c1OJEFVYr5XPgUr ZnFSehYY3OD3f8xIVvMaAtcX7TR2RnHp3AvQJWzJNyA6tnG/UOmAMdASfBMAfBwivGlM A1dA1iV8JWFCL5h8CKPxWCsTRHsGQXpqrXbJgguY6+ebGXK1n1NAOR8GPCJ46NPbPU8y Ao7yRCJ/OlVa0d1MrL6zs99myboBrgfiAPQcjSwQxgL7KohC+OQ4ZJiHwqdAnfqdYooT u8pw== 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=yzjiBidds/95jlWbsteDw2s2y+zSZ8imjzQuCnBCBaI=; b=oDMXePS7xsDO059eV1wH61aJ5FgjUSdemNU1mEeaCNQE6fQIie/CQA2HS876+W0NFw 5V9O7pljxYiFnUTvVhjh6LNUg4SDz4gAHZFtKalj4tJmV1bDFVnXvVrBs9BxjSdjpwlL LzuSGTa2Oi7t3Bi//3fgnzxjnkw5xkMRLeC/SnAZ8GI5I7r/+9rFRQojxjSKH3ZLclTC EmvsjfCEGhGHGOMzsYU5ialbTLP/5dun+vc4a7goaQYhdsLFMZfastv+2tlCNPWbaIc0 YEK4P5AqHrNRNrNya0sfuNwA2BAiyiPhuSdSeg/YH/xkGRrkkl8UQWvl75XnM+iz6DQw yKqA== X-Gm-Message-State: AOAM531UHqw99IxhO/ss6N2eQF8LT+lvF7FTReakPkuurVubhzjrKiU7 Znxg0aLuzfN1jcRiY+pdHw== X-Received: by 2002:ac8:5290:: with SMTP id s16mr5399475qtn.412.1631804139958; Thu, 16 Sep 2021 07:55:39 -0700 (PDT) Received: from moria.home.lan (c-73-219-103-14.hsd1.vt.comcast.net. [73.219.103.14]) by smtp.gmail.com with ESMTPSA id t26sm2395990qkm.0.2021.09.16.07.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 07:55:39 -0700 (PDT) Date: Thu, 16 Sep 2021 10:55:34 -0400 From: Kent Overstreet To: Theodore Ts'o Cc: James Bottomley , Chris Mason , Johannes Weiner , Matthew Wilcox , Linus Torvalds , "linux-mm@kvack.org" , linux-fsdevel , "linux-kernel@vger.kernel.org" , Andrew Morton , "Darrick J. Wong" , Christoph Hellwig , David Howells , "ksummit@lists.linux.dev" Subject: Re: [MAINTAINER SUMMIT] Folios as a potential Kernel/Maintainers Summit topic? Message-ID: References: <17242A0C-3613-41BB-84E4-2617A182216E@fb.com> 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 Wed, Sep 15, 2021 at 04:48:55PM -0400, Theodore Ts'o wrote: > On Wed, Sep 15, 2021 at 03:15:13PM -0400, James Bottomley wrote: > > > > My reading of the email threads is that they're iterating to an actual > > conclusion (I admit, I'm surprised) ... or at least the disagreements > > are getting less. Since the merge window closed this is now a 5.16 > > thing, so there's no huge urgency to getting it resolved next week. > > My read was that it was more that people were just getting exhausted, > and not necessarily that folks were converging. (Also, Willy is > currently on vacation.) > > I'm happy to be wrong, bu the patches haven't changed since the merge > window opened, and it's not clear what *needs* to change before it can > be accepted at the next merge window. I've personally been pretty dissapointed by how the discussions went off the rails. I don't think Willy was doing the best job of explaining and advocating for his design decisions, and some of the objections of the MM people have been just crazypants. One thing I want to make clear: folios aren't about compound pages, compound pages are just the mechanism MM side for describing higher order allocations. And folios are for filesystem pages (possibly including anonymous pages going forward); they're _not_ for slab. Historically, we haven't had a clear allocator/allocatee interface or distinction in our data structures, and our taxonomy of different types of pages is also super confusing, and both of those things have been making these discussions _really_ hard - but also, I expect better of some of you people. All the bikeshedding over the naming and arguing over eventuallities that will never happen because they're just pants on head stupid makes it really hard to find people's _real_ legitimate objections when reading through these discussions. I'm probably waiting for Willy to get back from vacation so I can hear more of his rationale before doing another long recap, and I'm still waiting for Johannes to retract his NACK. One of the good things that's come out of the discussions with Johannes is we've got some good concrete ideas for cutting apart the struct page mess - Willy has done most of the initial work, after all - and I think it's now possible to work towards a clear disctinction between allocator and allocatee state and also separate data types for separate types of pages. Fundamentally, the reason struct page exists at all is because we need memory to be self describing, but a lot of stuff lives in struct page for more for convenience reasons - we have a lot of code/data sharing there that's more accidental than principled. But I'm starting to see a way forward and it's getting me pretty excited. > > > Well, the current one seems to be working (admittedly eventually, so > > achieving faster resolution next time might be good) ... but I'm sure > > you could propose alternatives ... especially in the time to resolution > > department. > > Given how long it took for DAX to converge (years and years and years > and *multiple* LSF/MM's), I'm not as optimistic that Folios is > converge and is about to be merged at the next merge window. But > again, I'm happy to be proven wrong. I hope it doesn't take _that_ long...