lib/stackdepot: rename handle and pool constants
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:15:58 +0000 (22:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 17 Feb 2023 04:43:50 +0000 (20:43 -0800)
commit424cafee4a9c66435d8b86e7edbc794c116b52a5
tree6376a693d93e10513d049cee85439b646174b0cc
parent961c949b012f009c51ce209ded801e34d0a75306
lib/stackdepot: rename handle and pool constants

Change the "STACK_ALLOC_" prefix to "DEPOT_" for the constants that
define the number of bits in stack depot handles and the maximum number
of pools.

The old prefix is unclear and makes wonder about how these constants
are related to stack allocations. The new prefix is also shorter.

Also simplify the comment for DEPOT_POOL_ORDER.

No functional changes.

Link: https://lkml.kernel.org/r/84fcceb0acc261a356a0ad4bdfab9ff04bea2445.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c