Skip to contentSkip to conversation

mm-slub-use-stackdepot-to-save-stack-trace-in-objects.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/slub: use stackdepot to save stack trace in objects
has been removed from the -mm tree. Its filename was
mm-slub-use-stackdepot-to-save-stack-trace-in-objects.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Oliver Glitta <[email protected]>
Subject: mm/slub: use stackdepot to save stack trace in objects

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.

---

 init/Kconfig |    1 
 mm/slub.c    |   79 ++++++++++++++++++++++++++++++-------------------
 2 files changed, 50 insertions(+), 30 deletions(-)
init/Kconfig renamed from init/Kconfig~mm-slub-use-stackdepot-to-save-stack-trace-in-objects +1 -0
@@ -1847,6 +1847,7 @@ config SLUB_DEBUG
 	default y
 	bool "Enable SLUB debugging support" if EXPERT
 	depends on SLUB && SYSFS
+	select STACKDEPOT if STACKTRACE_SUPPORT
 	help
 	  SLUB has extensive debug support features. Disabling these can
 	  result in significant savings in code size. This also disables
mm/slub.c renamed from mm/slub.c~mm-slub-use-stackdepot-to-save-stack-trace-in-objects +49 -30

117 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are