lib/Kconfig.debug: correct help info of LOCKDEP_STACK_TRACE_HASH_BITS
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 21 Mar 2023 06:35:08 +0000 (14:35 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 22:24:31 +0000 (15:24 -0700)
commitf478b9987cc8236b412d9f2afc958d3e15a7cf85
treeafe8f7ab50779e17d7807bd8521ffe2694996fc5
parent35260cf545226c3b21d52a9d21083f7ff999969c
lib/Kconfig.debug: correct help info of LOCKDEP_STACK_TRACE_HASH_BITS

We can see the following definition in kernel/locking/lockdep_internals.h:

  #define STACK_TRACE_HASH_SIZE (1 << CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS)

CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS is related with STACK_TRACE_HASH_SIZE
instead of MAX_STACK_TRACE_ENTRIES, fix it.

Link: https://lkml.kernel.org/r/1679380508-20830-1-git-send-email-yangtiezhu@loongson.cn
Fixes: 5dc33592e955 ("lockdep: Allow tuning tracing capacity constants.")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/Kconfig.debug