Re: [PATCH v2 0/5] mm/page_owner: add debugfs files 'show_handles' and 'show_stacks_handles'
From: Andrew Morton
Date: Wed Oct 08 2025 - 22:32:35 EST
On Wed, 1 Oct 2025 14:56:06 -0300 Mauricio Faria de Oliveira <mfo@xxxxxxxxxx> wrote:
> Fortunately, the kernel can provide a unique identifier for stack traces
> in page_owner, which is the handle number in stackdepot. This eliminates
> the need for creating keys (hashing) in userspace during post-processing.
Looks nice, thanks.
I'm surprised that our in-tree userspace tooling for page_owner seems
rather weak. Nobody has touched tools/mm/page_owner_sort.c in two
years.