diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-11 00:15:57 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-17 07:43:50 +0300 |
commit | 961c949b012f009c51ce209ded801e34d0a75306 (patch) | |
tree | 7083444afb77cca07cd70c236d106c0fb01b7610 /scripts/stackdelta | |
parent | 4c2e9a679468a5bef2100504914481c6ddf0d9bd (diff) | |
download | linux-961c949b012f009c51ce209ded801e34d0a75306.tar.xz |
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 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions