]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: rename slab to pool
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:15:57 +0000 (22:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:11 +0000 (15:36 -0800)
commitfa6481523363d1c340ffc2b5bb9406346e3426b5
tree9e625666c086d784709fd8a3b4b58d18bcea3cd7
parentfc6b361dc7d5409ede27c5b69ec1f33135a219cc
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c