[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3558629b-2ae3-7c8a-f121-c3413aa8fb30@google.com>
Date: Sun, 25 Apr 2021 18:10:07 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Oliver Glitta <glittao@...il.com>
cc: cl@...ux.com, penberg@...nel.org, iamjoonsoo.kim@....com,
akpm@...ux-foundation.org, 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, glittao@...il.com wrote:
> From: Oliver Glitta <glittao@...il.com>
>
> 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.
>
> Signed-off-by: Oliver Glitta <glittao@...il.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists