Re: [PATCH 6/6] mm: split underutilized THPs

Randy Dunlap
2024-07-30T13:59:52Z

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