[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e716fd3-2393-8d41-bb68-9f589e4db290@gentwo.org>
Date: Fri, 20 Dec 2024 09:41:45 -0800 (PST)
From: "Christoph Lameter (Ampere)" <cl@...two.org>
To: Ryan Roberts <ryan.roberts@....com>
cc: Matthew Wilcox <willy@...radead.org>, Dev Jain <dev.jain@....com>,
akpm@...ux-foundation.org, david@...hat.com,
kirill.shutemov@...ux.intel.com, anshuman.khandual@....com,
catalin.marinas@....com, vbabka@...e.cz, mhocko@...e.com,
apopple@...dia.com, dave.hansen@...ux.intel.com, will@...nel.org,
baohua@...nel.org, jack@...e.cz, srivatsa@...il.mit.edu,
haowenchao22@...il.com, hughd@...gle.com, aneesh.kumar@...nel.org,
yang@...amperecomputing.com, peterx@...hat.com, ioworker0@...il.com,
wangkefeng.wang@...wei.com, ziy@...dia.com, jglisse@...gle.com,
surenb@...gle.com, vishal.moola@...il.com, zokeefe@...gle.com,
zhengqi.arch@...edance.com, jhubbard@...dia.com, 21cnbao@...il.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 02/12] khugepaged: Generalize alloc_charge_folio()
On Tue, 17 Dec 2024, Ryan Roberts wrote:
> We previously decided that all existing THP stats would continue to only count
> PMD-sized THP for fear of breaking userspace in subtle ways, and instead would
> introduce new mTHP stats that can count for each order. We already have
> MTHP_STAT_ANON_FAULT_ALLOC and MTHP_STAT_ANON_FAULT_FALLBACK (amongst others) so
> these new stats fit the pattern well, IMHO.
Could we move all the stats somewhere into sysfs where we can get them by
page order? /proc/vmstat keeps getting new counters.
Powered by blists - more mailing lists