[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <83aa31ab-d0a8-4375-aacc-75bdb8d0c0e0@infradead.org>
Date: Tue, 30 Jul 2024 06:59:43 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Usama Arif <usamaarif642@...il.com>, akpm@...ux-foundation.org,
linux-mm@...ck.org
Cc: hannes@...xchg.org, riel@...riel.com, shakeel.butt@...ux.dev,
roman.gushchin@...ux.dev, yuzhao@...gle.com, david@...hat.com,
baohua@...nel.org, ryan.roberts@....com, rppt@...nel.org,
willy@...radead.org, cerasuolodomenico@...il.com, corbet@....net,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH 6/6] mm: split underutilized THPs
On 7/30/24 5:46 AM, Usama Arif wrote:
> diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
> index 058485daf186..24eec1c03ad8 100644
> --- a/Documentation/admin-guide/mm/transhuge.rst
> +++ b/Documentation/admin-guide/mm/transhuge.rst
> @@ -447,6 +447,12 @@ thp_deferred_split_page
> splitting it would free up some memory. Pages on split queue are
> going to be split under memory pressure.
>
> +thp_underutilized_split_page
> + is incremented when a huge page on the split queue was split
> + because it was underutilized. A THP is underutilized if the
> + number of zero pages in the THP are above a certain threshold
in the THP is above
(if the number ... is)
> + (/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none).
> +
--
~Randy
Powered by blists - more mailing lists