diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-10 22:15:56 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-17 05:43:50 +0100 |
commit | 4c2e9a679468a5bef2100504914481c6ddf0d9bd (patch) | |
tree | 8159e6b0666e8389262e6f50638048791446d332 /lib/maple_tree.c | |
parent | lib/stackdepot: reorder and annotate global variables (diff) | |
download | linux-4c2e9a679468a5bef2100504914481c6ddf0d9bd.tar.xz linux-4c2e9a679468a5bef2100504914481c6ddf0d9bd.zip |
lib/stackdepot: rename hash table constants and variables
Give more meaningful names to hash table-related constants and variables:
1. Rename STACK_HASH_SCALE to STACK_HASH_TABLE_SCALE to point out that it
is related to scaling the hash table.
2. Rename STACK_HASH_ORDER_MIN/MAX to STACK_BUCKET_NUMBER_ORDER_MIN/MAX
to point out that it is related to the number of hash table buckets.
3. Rename stack_hash_order to stack_bucket_number_order for the same
reason as #2.
No functional changes.
Link: https://lkml.kernel.org/r/f166dd6f3cb2378aea78600714393dd568c33ee9.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>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions