aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/stackdepot.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2023-11-20 18:47:08 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 16:51:45 -0800
commita5d21f71715a0459e5313881203f86eefbeefb3b (patch)
treec8bf7e59f1dfbbd10e8b40ec3703c916e07fcfdb /include/linux/stackdepot.h
parentlib/stackdepot: rename next_pool_required to new_pool_required (diff)
downloadlinux-rng-a5d21f71715a0459e5313881203f86eefbeefb3b.tar.xz
linux-rng-a5d21f71715a0459e5313881203f86eefbeefb3b.zip
lib/stackdepot: store next pool pointer in new_pool
Instead of using the last pointer in stack_pools for storing the pointer to a new pool (which does not yet store any stack records), use a new new_pool variable. This a purely code readability change: it seems more logical to store the pointer to a pool with a special meaning in a dedicated variable. Link: https://lkml.kernel.org/r/448bc18296c16bef95cb3167697be6583dcc8ce3.1700502145.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Reviewed-by: 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 'include/linux/stackdepot.h')
0 files changed, 0 insertions, 0 deletions