From: "Vlastimil Babka (SUSE)" <vbabka@kernel.org>
To: Zhen Ni <zhen.ni@easystack.cn>, akpm@linux-foundation.org
Cc: surenb@google.com, mhocko@suse.com, jackmanb@google.com,
hannes@cmpxchg.org, ziy@nvidia.com, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v12 3/4] tools/mm: add page_owner_filter userspace tool
Date: Tue, 7 Jul 2026 17:36:27 +0200 [thread overview]
Message-ID: <56608c36-634a-4b30-b29b-b3bcb5067ce1@kernel.org> (raw)
In-Reply-To: <20260707115411.1714314-4-zhen.ni@easystack.cn>
On 7/7/26 13:54, Zhen Ni wrote:
> Add a userspace filtering tool for page_owner that supports per-fd
> filtering with print_mode and NUMA node filters.
>
> Features:
> - Three print modes: stack (default), handle, stack_handle
> - NUMA node filtering with flexible formats (single: 0, multiple: 0,1,2,
> range: 0-3, mixed: 0,2-3)
> - Per-file-descriptor filter state for independent filtering
>
> Usage examples:
> # Filter by print mode
> ./page_owner_filter -m handle
> ./page_owner_filter -m stack_handle
>
> # Filter by NUMA node
> ./page_owner_filter -n 0
> ./page_owner_filter -n 0-3
>
> # Combined filters
> ./page_owner_filter -m stack -n 0,1,2
> ./page_owner_filter -m handle -n 0,2-3
>
> The tool validates inputs before sending commands to the kernel and
> provides clear error messages when the kernel does not support
> per-fd filtering.
>
> Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
> Tested-by: Zi Yan <ziy@nvidia.com>
Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
next prev parent reply other threads:[~2026-07-07 15:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 11:54 [PATCH v12 0/4] mm/page_owner: add per-fd filter infrastructure for print_mode and NUMA filtering Zhen Ni
2026-07-07 11:54 ` [PATCH v12 1/4] mm/page_owner: add print_mode filter Zhen Ni
2026-07-07 15:27 ` Vlastimil Babka (SUSE)
2026-07-07 15:31 ` Zi Yan
2026-07-07 16:02 ` Zi Yan
2026-07-07 11:54 ` [PATCH v12 2/4] mm/page_owner: add NUMA node filter Zhen Ni
2026-07-07 15:30 ` Vlastimil Babka (SUSE)
2026-07-07 15:54 ` Zi Yan
2026-07-07 11:54 ` [PATCH v12 3/4] tools/mm: add page_owner_filter userspace tool Zhen Ni
2026-07-07 15:36 ` Vlastimil Babka (SUSE) [this message]
2026-07-07 16:13 ` Zi Yan
2026-07-07 11:54 ` [PATCH v12 4/4] mm/page_owner: document page_owner filter Zhen Ni
2026-07-07 15:37 ` Vlastimil Babka (SUSE)
2026-07-07 16:13 ` Zi Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56608c36-634a-4b30-b29b-b3bcb5067ce1@kernel.org \
--to=vbabka@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=jackmanb@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=surenb@google.com \
--cc=zhen.ni@easystack.cn \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox