diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-11 00:15:56 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-17 07:43:50 +0300 |
commit | 4c2e9a679468a5bef2100504914481c6ddf0d9bd (patch) | |
tree | 8159e6b0666e8389262e6f50638048791446d332 /lib/test_static_keys.c | |
parent | 0d249ac0e07680960929a2d4f7b32be505c8c7a1 (diff) | |
download | linux-4c2e9a679468a5bef2100504914481c6ddf0d9bd.tar.xz |
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/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions