Re: [PATCH 1/2] mm/page_owner.c: introduce vmalloc allocator for page_owner

From: Matthew Wilcox
Date: Mon Mar 21 2022 - 23:28:38 EST


On Tue, Mar 22, 2022 at 11:22:24AM +0800, Yinan Zhang wrote:
> An application's memory consumption is high and keeps increasing,
> then it is suspected of having memory leak. There are several
> commonly used memory allocators: slab, cma, vmalloc, etc. The memory
> leak identification can be speed up if page information allocated
> by an individual allocator are analyzed individually. This patch
> introduce vmalloc allocator for page_owner.

Why is /proc/vmallocinfo not enough?