summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-tlc591xx.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2023-11-20 18:47:04 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-11 01:51:44 +0100
commitfc60e0caa94dd7ca0e97a1d42527f71c9d51cd2d (patch)
tree70518bad60587d739babc3e1cb081333e7ac5eeb /drivers/leds/leds-tlc591xx.c
parentlib/stackdepot: add depot_fetch_stack helper (diff)
downloadlinux-fc60e0caa94dd7ca0e97a1d42527f71c9d51cd2d.tar.xz
linux-fc60e0caa94dd7ca0e97a1d42527f71c9d51cd2d.zip
lib/stackdepot: use fixed-sized slots for stack records
Instead of storing stack records in stack depot pools one right after another, use fixed-sized slots. Add a new Kconfig option STACKDEPOT_MAX_FRAMES that allows to select the size of the slot in frames. Use 64 as the default value, which is the maximum stack trace size both KASAN and KMSAN use right now. Also add descriptions for other stack depot Kconfig options. This is preparatory patch for implementing the eviction of stack records from the stack depot. Link: https://lkml.kernel.org/r/dce7d030a99ff61022509665187fac45b0827298.1700502145.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Cc: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Evgenii Stepanov <eugenis@google.com> Cc: Marco Elver <elver@google.com> Cc: Oscar Salvador <osalvador@suse.de> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/leds/leds-tlc591xx.c')
0 files changed, 0 insertions, 0 deletions