]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: rename hash table constants and variables
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:15:56 +0000 (22:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:11 +0000 (15:36 -0800)
commitfc6b361dc7d5409ede27c5b69ec1f33135a219cc
tree6aa5b245cf448959e483077a2d1ae346371e9283
parente4c29c60482ec58731b95f8e40312e8fe1413872
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c