diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2023-11-20 20:47:08 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 03:51:45 +0300 |
| commit | a5d21f71715a0459e5313881203f86eefbeefb3b (patch) | |
| tree | c8bf7e59f1dfbbd10e8b40ec3703c916e07fcfdb /include/linux | |
| parent | b6a353d3ebc2b5eea3cab81ed81764bb1dd6f4ab (diff) | |
| download | linux-a5d21f71715a0459e5313881203f86eefbeefb3b.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
