diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-11-20 18:47:11 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-10 16:51:46 -0800 |
commit | 4805180bc165238c3d845a992a5962ee87097c15 (patch) | |
tree | db7c8c0a6b0ce62c46d45771936f9c3009e0641d /lib/test_dynamic_debug.c | |
parent | a6cd957021f2bbbe0f02e5c32389eb4c06aa97c8 (diff) |
lib/stackdepot: use list_head for stack record links
Switch stack_record to use list_head for links in the hash table and in
the freelist.
This will allow removing entries from the hash table buckets.
This is preparatory patch for implementing the eviction of stack records
from the stack depot.
Link: https://lkml.kernel.org/r/4787d9a584cd33433d9ee1846b17fa3d3e1987ad.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 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions