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=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 DF5CAC432BE for ; Tue, 24 Aug 2021 19:48:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6B9A610FD for ; Tue, 24 Aug 2021 19:48:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234649AbhHXTtW (ORCPT ); Tue, 24 Aug 2021 15:49:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbhHXTtQ (ORCPT ); Tue, 24 Aug 2021 15:49:16 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B1AAC061757 for ; Tue, 24 Aug 2021 12:48:32 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id d16so39601893ljq.4 for ; Tue, 24 Aug 2021 12:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g+VIucdxRscrrUQHUBcwMBpfJ0EErD494EMkYvulJNE=; b=NLRLSyitIlgW1rcZ+5AvMAiC/lml/QOnCl2JQnqY5/JIVU0v3BMoHEinpZmCpPhVP0 slt8rwQ1x3+0xrhnoLCm8XFfng0r4Ceililxq+JJmh6ULOzAEFE7RRqMR7BWoAyW5tv0 Ptu8+m/iU43d7FwMcO5GAhPrD+dg0nrsS2z2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g+VIucdxRscrrUQHUBcwMBpfJ0EErD494EMkYvulJNE=; b=LGoxm8TIS62Cv6aqw61CJGJm753x2cy9EbAVsm++6B2Ob/uYTyDQk0NSX5iQIkoZ5s LFxDpEvSdQZGOUVU+9DJYFDnsxE2pfRdg92tRVhqpHo7/VCDkD9EpXKlPGVLqWqNpDD3 ZNCwaMP09GqiFR1kbjY4Y0PcvKVVikvEUYdDNPnwByS68YrUu7jiUwGHzO4/lTzHMySy QGH1qNuENduzTzR6gmgWbCQDOeSfnA26Brn42Y3qiwr0MGzlS/kuQQsa7JSnosC3GFLr K/60H/YYDYivroW8qmWPON4QrpR5pZoFeZQQv8W5oFMTLUuC78rLUFNPqnQyr1tVUsQu h+0g== X-Gm-Message-State: AOAM532uApUSUP4hY5PRiit3O+li20nJisEifp5s2CDyGGVlUsnzobPg HfGIjIvmvEtdkHh6TPSWCMhrmqM4Z+Nm3WBt X-Google-Smtp-Source: ABdhPJxtN4NXAtxtytmFeC1ut8kQEJMb6XD/mHH0Yxp+AFmEq01xTomjFyqn9hHQdusZ2BAPZ0hPPw== X-Received: by 2002:a2e:9444:: with SMTP id o4mr33209975ljh.210.1629834510233; Tue, 24 Aug 2021 12:48:30 -0700 (PDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id u3sm1827287lju.107.2021.08.24.12.48.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Aug 2021 12:48:29 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id w4so38087312ljh.13 for ; Tue, 24 Aug 2021 12:48:29 -0700 (PDT) X-Received: by 2002:a2e:7d0e:: with SMTP id y14mr33004192ljc.251.1629834509146; Tue, 24 Aug 2021 12:48:29 -0700 (PDT) MIME-Version: 1.0 References: <1957060.1629820467@warthog.procyon.org.uk> <1966106.1629832273@warthog.procyon.org.uk> In-Reply-To: From: Linus Torvalds Date: Tue, 24 Aug 2021 12:48:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Memory folios for v5.15 To: David Howells Cc: Matthew Wilcox , Johannes Weiner , Linux-MM , linux-fsdevel , Linux Kernel Mailing List , Andrew Morton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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". Linus 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=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 53C33C4338F for ; Tue, 24 Aug 2021 19:48:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D205661371 for ; Tue, 24 Aug 2021 19:48:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D205661371 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 34A6C8D0001; Tue, 24 Aug 2021 15:48:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2FA036B0071; Tue, 24 Aug 2021 15:48:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 19AD58D0001; Tue, 24 Aug 2021 15:48:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0193.hostedemail.com [216.40.44.193]) by kanga.kvack.org (Postfix) with ESMTP id EE5776B006C for ; Tue, 24 Aug 2021 15:48:31 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id A3FFF8249980 for ; Tue, 24 Aug 2021 19:48:31 +0000 (UTC) X-FDA: 78511011222.07.FF27C65 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by imf28.hostedemail.com (Postfix) with ESMTP id 5674590000AB for ; Tue, 24 Aug 2021 19:48:31 +0000 (UTC) Received: by mail-lj1-f178.google.com with SMTP id p15so1758852ljn.3 for ; Tue, 24 Aug 2021 12:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g+VIucdxRscrrUQHUBcwMBpfJ0EErD494EMkYvulJNE=; b=NLRLSyitIlgW1rcZ+5AvMAiC/lml/QOnCl2JQnqY5/JIVU0v3BMoHEinpZmCpPhVP0 slt8rwQ1x3+0xrhnoLCm8XFfng0r4Ceililxq+JJmh6ULOzAEFE7RRqMR7BWoAyW5tv0 Ptu8+m/iU43d7FwMcO5GAhPrD+dg0nrsS2z2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g+VIucdxRscrrUQHUBcwMBpfJ0EErD494EMkYvulJNE=; b=H/zb5X2+8B1CptbRnvowtkx/r80ZkZlpLfLvHEu/IuahhtdWgWxc2gFCt+bDA1GhEl DQ8VpefcmEaLHuPy1NUxcsLzCtydg+EeqSpeg3wieQvbRqxgdVKy1zE8l8JGkLrqEX01 ws0eyHcb1zFiYjnfEWjnLzQ+arGL2ocGlMEaPI4jK2u2TwY5Z40aSjRZwR0g5+J8ut1x oQGKHqQnP+ZfmeSW4ux/SKER2pUUQ//X8VedWd3KTsFfdksnxzOFLE3JmqiUe3MV+0bc HG/4CLhrbbZuSOqH4yFy4V8ZY4hCfepwckcRQ9ZepoVVGOFehriQ9X7qUM6MKTGpWWF+ Fleg== X-Gm-Message-State: AOAM533mi40rolszEqbF+xhb7eJFSs008Ugi3+83HfszlsA4zX9YnG+M W/Y8LBUyL8ruWS6zqYfy0NmiHQusbMbWFZlH X-Google-Smtp-Source: ABdhPJwHyQ0Y1UnpZC66qG6KRonUqLagbpw8bfrFi9RA9aupx+iaFsOL7lQIuqq49gN4qTTj1dQHCg== X-Received: by 2002:a2e:9848:: with SMTP id e8mr9221103ljj.493.1629834509853; Tue, 24 Aug 2021 12:48:29 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id v131sm1837525lfa.276.2021.08.24.12.48.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Aug 2021 12:48:29 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id f2so39628930ljn.1 for ; Tue, 24 Aug 2021 12:48:29 -0700 (PDT) X-Received: by 2002:a2e:7d0e:: with SMTP id y14mr33004192ljc.251.1629834509146; Tue, 24 Aug 2021 12:48:29 -0700 (PDT) MIME-Version: 1.0 References: <1957060.1629820467@warthog.procyon.org.uk> <1966106.1629832273@warthog.procyon.org.uk> In-Reply-To: From: Linus Torvalds Date: Tue, 24 Aug 2021 12:48:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Memory folios for v5.15 To: David Howells Cc: Matthew Wilcox , Johannes Weiner , Linux-MM , linux-fsdevel , Linux Kernel Mailing List , Andrew Morton Content-Type: text/plain; charset="UTF-8" Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=google header.b=NLRLSyit; dmarc=none; spf=pass (imf28.hostedemail.com: domain of torvalds@linuxfoundation.org designates 209.85.208.178 as permitted sender) smtp.mailfrom=torvalds@linuxfoundation.org X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 5674590000AB X-Stat-Signature: 44dgefqn5puaaxhuhg1fghdnzkwsk6o4 X-HE-Tag: 1629834511-32372 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 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". Linus