Re: [PATCH v6 0/3] mm/page_owner: add filter infrastructure for print_mode and NUMA filtering
From: Michal Hocko
Date: Mon May 11 2026 - 08:29:37 EST
On Mon 11-05-26 11:30:14, Zhen Ni wrote:
> Solution
> ========
>
> This patch series introduces a flexible filter infrastructure with
> two initial filters:
>
> 1. **Print Mode Filter**: Outputs only stack handles instead of
> full stack traces. The handle-to-stack mapping can be retrieved
> from the existing show_stacks_handles interface. This dramatically
> reduces output size while preserving all allocation metadata.
>
> 2. **NUMA Node Filter**: Allows filtering pages by specific NUMA node(s)
> using flexible nodelist format, enabling targeted analysis of memory
> issues in NUMA-aware deployments.
How does this work when there are multiple consumers of the interface?
E.g per numa tool to watch node lock page_owner information?
--
Michal Hocko
SUSE Labs