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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGsJ_4wP4E8pUnhjOZ3HX1e-dgJO=0URA2RwkwpPYw4H=ZNPgw@mail.gmail.com>
Date: Wed, 30 Oct 2024 20:57:33 +1300
From: Barry Song <21cnbao@...il.com>
To: "Huang, Ying" <ying.huang@...el.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org, 
	linux-kernel@...r.kernel.org, Barry Song <v-songbaohua@...o.com>, 
	David Hildenbrand <david@...hat.com>, Baolin Wang <baolin.wang@...ux.alibaba.com>, 
	Chris Li <chrisl@...nel.org>, Yosry Ahmed <yosryahmed@...gle.com>, 
	Kairui Song <kasong@...cent.com>, Ryan Roberts <ryan.roberts@....com>, 
	Kanchana P Sridhar <kanchana.p.sridhar@...el.com>, Usama Arif <usamaarif642@...il.com>
Subject: Re: [PATCH] mm: add per-order mTHP swpin counters

On Wed, Oct 30, 2024 at 6:29 PM Huang, Ying <ying.huang@...el.com> wrote:
>
> Barry Song <21cnbao@...il.com> writes:
>
> > On Wed, Oct 30, 2024 at 4:45 PM Huang, Ying <ying.huang@...el.com> wrote:
> >>
> >> Barry Song <21cnbao@...il.com> writes:
> >>
> >> > From: Barry Song <v-songbaohua@...o.com>
> >> >
> >> > This helps profile the sizes of folios being swapped in. Currently,
> >> > only mTHP swap-out is being counted.
> >>
> >> Better to describe the user space interface in patch description?
> >>
> >
> > Do you mean something as below?
> >
> > The new interface can be found at:
> >
> > /sys/kernel/mm/transparent_hugepage/hugepages-<size>/stats
> >          swapin
>
> Yes.  Some example output may be even better.

ok. let me add some examples in changelog:

cat /sys/kernel/mm/transparent_hugepage/hugepages-64kB/stats/swpin
12809

cat /sys/kernel/mm/transparent_hugepage/hugepages-32kB/stats/swpin
4763

>
> --
> Best Regards,
> Huang, Ying

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ