diff options
author | 2023-11-20 18:47:08 +0100 | |
---|---|---|
committer | 2023-12-10 16:51:45 -0800 | |
commit | a5d21f71715a0459e5313881203f86eefbeefb3b (patch) | |
tree | c8bf7e59f1dfbbd10e8b40ec3703c916e07fcfdb /include/linux/stackdepot.h | |
parent | lib/stackdepot: rename next_pool_required to new_pool_required (diff) | |
download | linux-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