Re: [RFC] psi: Add additional PSI counters for each type of memory pressure

From: Michal Hocko
Date: Wed Nov 10 2021 - 11:07:41 EST


On Wed 10-11-21 07:36:37, Georgi Djakov wrote:
> From: Carlos Ramirez <carlrami@xxxxxxxxxxxxxx>
>
> Calculates psi totals for memory pressure subevents:
> compaction, thrashing, direct compaction, direct reclaim, and kswapd0.
> Uses upper 16 bits of psi_flags to track memory subevents.

Could you elaborate on the definition of those events please? That
should also go to Documentation (Documentation/accounting/psi.rst)
--
Michal Hocko
SUSE Labs