Re: [PATCH v7 0/4] mm/page_owner: add per-fd filter infrastructure for print_mode and NUMA filtering
From: Harry Yoo
Date: Mon May 18 2026 - 21:55:14 EST
On 5/17/26 9:49 PM, Harry Yoo wrote:
On 5/15/26 6:19 PM, Zhen Ni wrote:
This patch series introduces per-file-descriptor filtering capabilities to the
page_owner feature.
Problem Statement
=================
In production environments with large memory configurations (e.g., 250GB+),
collecting page_owner information often results in files ranging from
several gigabytes to over 10GB. This creates significant challenges:
Just out of curiosity...
What are you trying to do with this data on production servers,and why the existing
per-NUMA statistics don't work for you?
If what you want to do is dump which code locations allocated how much memory for each NUMA node on the event of OOM, you probably want to improve memory allocation profiling instead of improving page_owner functionality.
IIRC there was discussion [1] on supporting memcg and numa awareness
and querying using ioctl().
[1] Memory Allocation Profiling upcoming features, LPC 2025,
https://lpc.events/event/19/contributions/2146
--
Cheers,
Harry / Hyeonggon
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature