Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp622685pxb; Thu, 26 Aug 2021 10:26:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGi/6UPGCU9JU5QH4cu/2sNj1d5bmcQLWH6QoZfSo1guyUX12Cshi0C/78XQe+aVUuqDMG X-Received: by 2002:a05:6402:d73:: with SMTP id ec51mr5244825edb.286.1629998767557; Thu, 26 Aug 2021 10:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629998767; cv=none; d=google.com; s=arc-20160816; b=FkWhTQ8m3MKdsBuuQelvsMchCngyex0myapM3Hj8EltqB9ZSzbR8kVxzHLbWXe02D8 7pJMZrBiVW8LPHTsduDlKXBD5ZJqZvWllGhQgUxXV01Hn7rrWo+LikIkxbLeI/TMzHyQ jmQFQIKF5arcK+jNlRTv0lJmLb81S23Xq5b4da9JDSFoU1t3dS+wOmFL7EUkbOmGb735 VIvzur0MroooTrAdNdqzRAdC3LqYCmpSCJxnMz8WR70JRpSA1m4yQNEFlYnOh2rB3pHD 5f/a4gc/oI2wbyk/zums4utX2Qj3MvZtYr0Dp2z3oj5XMGKq4toFEPkK/5DyKTcuDgJF lbEQ== 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=850eODxTDWhlzYrQXf9CJDPvv6/dK0ZOGDmXnwCIfCw=; b=FtdSWsmyjQJ0qVYGbjUHsH384nPtFMaf7SuufeRUfls6PvKMVIWw2eQGzXy9TFSdNh lzVF73l7fjLgH6ieQhNrFHvVFfoC4myQKxYy3IdYze6AW2J9vGcO35melySucLjzkWbk uvJAh+KusKvacaJ4vt2nqJfXPmSxC+aGKkpLJ7mjp74jMi+IGViEPssm9ndn0Mk0mle5 rlE1isfhfnHIr19r6ebdOGYpJWOc+Eqp9QpKzleKexlvpeCTbTxYx/qZT/gCkNyYA5tx FKzMUBIdjUXwb6Q6I2ZMYip5jiMHDbVc3FZqGXHtbbNpNMY4IHJqO25SCqi4lmO612rU Grhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WitDMPFA; 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 dt21si2556602ejc.571.2021.08.26.10.25.40; Thu, 26 Aug 2021 10:26:07 -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=WitDMPFA; 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 S243168AbhHZRVP (ORCPT + 99 others); Thu, 26 Aug 2021 13:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbhHZRVO (ORCPT ); Thu, 26 Aug 2021 13:21:14 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 118E0C061757; Thu, 26 Aug 2021 10:20:27 -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=850eODxTDWhlzYrQXf9CJDPvv6/dK0ZOGDmXnwCIfCw=; b=WitDMPFARIeZb/2HdADSmvN0nL i6qhaTu0DvVO04CFVVI77gsq453qxaOtmXZhmYH+cFfiNcwvf64mt5ng3/3dV5qEzqW4fCVa7Av8V 1yyz/UGTkRVk6OPTZgVasbPNmti+H2rSARy60noi5EDQMJui3yT8MDwGZLPDYsZi7jfiN0AQv6w1G 2WabPLTtzY9RsT6M1j1xzBfEGwLeBPykQUmKlpvC5S2Drtuweoe58tFVpEkqik5m1Z1MxXzM53p2c CaOuvCZf+mxz3sTekftji0jLtGy/1ZEypJa23c5iZKpsLN1/v8pASBQvwxqOXC7syIhvRttbLuM5m nP8VZoLw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJJ1l-00DVgd-Gv; Thu, 26 Aug 2021 17:19:04 +0000 Date: Thu, 26 Aug 2021 18:18:57 +0100 From: Matthew Wilcox To: Linus Torvalds Cc: David Howells , Johannes Weiner , Linux-MM , linux-fsdevel , Linux Kernel Mailing List , Andrew Morton Subject: Re: [GIT PULL] Memory folios for v5.15 Message-ID: References: <1957060.1629820467@warthog.procyon.org.uk> <1966106.1629832273@warthog.procyon.org.uk> 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 Tue, Aug 24, 2021 at 12:48:13PM -0700, Linus Torvalds wrote: > On Tue, Aug 24, 2021 at 12:38 PM Linus Torvalds > wrote: > > > > "pageset" is such a great name that we already use it, so I guess that > > doesn't work. > > Actually, maybe I can backtrack on that a bit. > > Maybe 'pageset' would work as a name. It's not used as a type right > now, but the usage where we do have those comments around 'struct > per_cpu_pages' are actually not that different from the folio kind of > thing. It has a list of "pages" that have a fixed order. > > So that existing 'pageset' user might actually fit in conceptually. > The 'pageset' is only really used in comments and as part of a field > name, and the use does seem to be kind of consistent with the Willy's > use of a "aligned allocation-group of pages". The 'pageset' in use in mm/page_alloc.c really seems to be more of a pagelist than a pageset. The one concern I have about renaming it is that we actually print the word 'pagesets' in /proc/zoneinfo. There's also some infiniband driver that uses the word "pageset" which really seems to mean "DMA range". So if I rename the existing mm pageset to pagelist, and then modify all these patches to call a folio a pageset, you'd take this patchset?