diff options
author | Andrey Konovalov <[email protected]> | 2023-02-10 22:15:58 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-02-16 20:43:50 -0800 |
commit | 424cafee4a9c66435d8b86e7edbc794c116b52a5 (patch) | |
tree | 6376a693d93e10513d049cee85439b646174b0cc /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | 961c949b012f009c51ce209ded801e34d0a75306 (diff) |
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 <[email protected]>
Reviewed-by: Alexander Potapenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions