Message ID | 1679380508-20830-1-git-send-email-yangtiezhu@loongson.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1621982wrt; Mon, 20 Mar 2023 23:51:35 -0700 (PDT) X-Google-Smtp-Source: AK7set9vyRtL8VZMdM1SOjMMZ+tryly26U5QX1dss2t7RgJ1r0h/qD60B2gyRl7OglRqBerjRMCT X-Received: by 2002:a05:6a20:4992:b0:da:7036:dfa7 with SMTP id fs18-20020a056a20499200b000da7036dfa7mr1215407pzb.19.1679381494965; Mon, 20 Mar 2023 23:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679381494; cv=none; d=google.com; s=arc-20160816; b=DUkZtMHa1ZzcMqi3W86yB9KHpDpUvas0jMMOTgJEO4btRSBF3h/mvcUSa+1UUy/FiP 7wl5nYDZNiNKay+yriMLY3yomxdPBnn64w8D6wIXbFsRVM1RBa2w/1hg46NShwPz1R6i RvQzZ/xsSfSSLiT8BrD8aeDA9cfg2EswQRJ/J+btRyMOilTGVsyeSNBK4nJIbDMRc/xX 8JG/2CVJ45DJz/1PQhSZ3YKjx3A1HLvAyn5mieWtkYXXZz3VMrEs2Qcc2ty/OUDRIhfj QLHZ+mLXjgEMmXPQBIen//OQaQvikL1gP0sJRBI8vIBVTkxmzd+6uXh87+oPti/cG8DZ GIpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=FJeUbyof198yuiU3Bb5DHcK3mhTN50Tpc17PiuIRBQA=; b=G3Z+NDEGVoVYgk7zhZQfefunujTyQoSwt2An93wX9GVSvyXqO7K0pw4jYC9PGvix5q AdzvFyfr3R15u1LBlji6w86Gkbc3p/wfAr8w8UCd9ktSmsIXy4iKg33pLjjFA7oACgzl o46OqxTehj6lpiU3T5KYoY45LmDU36D/jRA7mf/cbd/y6zKzfrIn9jHfUitwoDYKnq7e hIlrwMycMl1vcKwyWaXdg1ppJMfgo2/+VSXKfQOZnBa9DqCLqkVQQsL9mjhadTaubACQ GSxnlHQ8mZMte9pFIwiYD3izozVFjcqTAw0KuM0tKehxhQvheJsfKHVJERvxT0U3+MuZ ZVrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q25-20020a637519000000b0050e60e36397si10428347pgc.562.2023.03.20.23.51.21; Mon, 20 Mar 2023 23:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230304AbjCUGfc (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Tue, 21 Mar 2023 02:35:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjCUGf3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Mar 2023 02:35:29 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2BE159008 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 23:35:16 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8DxUOUiUBlksUQPAA--.22543S3; Tue, 21 Mar 2023 14:35:14 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxAeUhUBlkUEcIAA--.35503S2; Tue, 21 Mar 2023 14:35:13 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Andrew Morton <akpm@linux-foundation.org> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>, Dmitry Vyukov <dvyukov@google.com>, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH] lib/Kconfig.debug: Correct help info of LOCKDEP_STACK_TRACE_HASH_BITS Date: Tue, 21 Mar 2023 14:35:08 +0800 Message-Id: <1679380508-20830-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8DxAeUhUBlkUEcIAA--.35503S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrZFy3JFyUWF4fJFyDGw1rJFb_yoWDXrb_Kr y8Xr4rGF15AFyak3Wqqa1kXF1Iva17Wan3uFn3tr13Z3yq9r95A34kGrykAFZxW39F9F40 qrZ5Ar9IvryYkjkaLaAFLSUrUUUU8b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY q7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26ryj6F1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4 x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Cr1j6rxdM2kK e7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VC2z280 aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28Icx kI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r1Y6r17MI8I3I0E 5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAV WUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1I6r4UMIIF0xvE2Ix0cI8IcVCY 1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI 0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU 4AhLUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760959130280380873?= X-GMAIL-MSGID: =?utf-8?q?1760959130280380873?= |
Series |
lib/Kconfig.debug: Correct help info of LOCKDEP_STACK_TRACE_HASH_BITS
|
|
Commit Message
Tiezhu Yang
March 21, 2023, 6:35 a.m. UTC
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.
Fixes: 5dc33592e955 ("lockdep: Allow tuning tracing capacity constants.")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c8b379e..e2e33bf 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1392,7 +1392,7 @@ config LOCKDEP_STACK_TRACE_HASH_BITS range 10 30 default 14 help - Try increasing this value if you need large MAX_STACK_TRACE_ENTRIES. + Try increasing this value if you need large STACK_TRACE_HASH_SIZE. config LOCKDEP_CIRCULAR_QUEUE_BITS int "Bitsize for elements in circular_queue struct"