Messages in this thread | | | Date | Sun, 25 Apr 2021 18:10:07 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH] mm/slub: use stackdepot to save stack trace in objects |
| |
On Wed, 14 Apr 2021, glittao@gmail.com wrote:
> From: Oliver Glitta <glittao@gmail.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@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
| |