]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 10 Feb 2023 23:36:11 +0000 (15:36 -0800)
commit3b62d0df1653834c9541829028094ea5db0b68e6
tree4ec4db8d186eb6886314c546fde285a10e86ec61
parentfa6481523363d1c340ffc2b5bb9406346e3426b5
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