diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-10 22:15:57 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-17 05:43:50 +0100 |
commit | 961c949b012f009c51ce209ded801e34d0a75306 (patch) | |
tree | 7083444afb77cca07cd70c236d106c0fb01b7610 /lib/of-reconfig-notifier-error-inject.c | |
parent | lib/stackdepot: rename hash table constants and variables (diff) | |
download | linux-961c949b012f009c51ce209ded801e34d0a75306.tar.xz linux-961c949b012f009c51ce209ded801e34d0a75306.zip |
lib/stackdepot: rename slab to pool
Use "pool" instead of "slab" for naming memory regions stack depot
uses to store stack traces. Using "slab" is confusing, as stack depot
pools have nothing to do with the slab allocator.
Also give better names to pool-related global variables: change
"depot_" prefix to "pool_" to point out that these variables are
related to stack depot pools.
Also rename the slabindex (poolindex) field in handle_parts to pool_index
to align its name with the pool_index global variable.
No functional changes.
Link: https://lkml.kernel.org/r/923c507edb350c3b6ef85860f36be489dfc0ad21.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/of-reconfig-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions