[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210509214603.d2a5faaa3fe0d71c3517cb36@linux-foundation.org>
Date: Sun, 9 May 2021 21:46:03 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: glittao@...il.com
Cc: cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, vbabka@...e.cz,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm/slub: use stackdepot to save stack trace in objects
On Wed, 14 Apr 2021 18:34:34 +0200 glittao@...il.com wrote:
> Many stack traces are similar so there are many similar arrays.
> Stackdepot saves each unique stack only once.
>
> Replace field addrs in struct track with depot_stack_handle_t handle.
> Use stackdepot to save stack trace.
>
> The benefits are smaller memory overhead and possibility to aggregate
> per-cache statistics in the future using the stackdepot handle
> instead of matching stacks manually.
Which tree was this prepared against? 5.12's kmem_obj_info() is
significantly different from the version you were working on.
Please take a look, redo, retest and resend? Thanks.
Powered by blists - more mailing lists