lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e5f33886-9fd3-dbff-e528-bcba8e18c6b4@gentwo.org>
Date: Fri, 20 Dec 2024 10:47:44 -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 Fri, 20 Dec 2024, Ryan Roberts wrote:

> > Could we move all the stats somewhere into sysfs where we can get them by
> > page order? /proc/vmstat keeps getting new counters.
>
> This is exactly what has been done already for mthp stats. They live at:
>
> /sys/kernel/mm/transparent_hugepage/hugepages-<size>kB/stats/.
>
> So there is a directory per size, and there is a file per stat.

Then lets drop all THP and huge page counters from vmstat.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ