Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3809206pxb; Mon, 1 Feb 2021 05:26:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJfFE8BNkVQztyhuBMm8dFZhCJylrGlSrtRDHlpPlgGMJO3gsEkuNuqrjBT8ezgbVoEVXx X-Received: by 2002:a50:fe85:: with SMTP id d5mr19440475edt.140.1612186004318; Mon, 01 Feb 2021 05:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612186004; cv=none; d=google.com; s=arc-20160816; b=l54zAKRJ24nPMnZlp5mEp/K0acmFaTOIE8hR/156rklZwXQUALjQ64AjTGlLqVLbtE JpabE61Ob/KJwajU9jYEXGJncAWvE+LogonMUb3cvJZv9ymjPOOcJhqk77ZRQkwB+Se8 rWqU9N56j9hx9ilBJt9iD8yWu49vjBrx2w5lSGVExaqfYkKMN1CkpB4h1VB3XDihYC03 FiON6GZ/ifqHrpkK8JjOE1LiggkOzm+wJzx3qoSQ9ffox4B0tTFA9O/WBWBfk+VKVbxE LIXe8MFGN3iN9qA4pbPRMqUVRN9vCJ2ZVOwoqUh7A3IV2+xT0YKTH8kb9ipNkkK+FC2i eXRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=ZOoCCgsskVKRqzRLC6TOK7Zl6tcPcrzozQN00P4CfCA=; b=XsHmyynCGNpwVSKu18Au3u85v8/8oxALseH37OyMi5eyo9kdriFjVx9GUWwYE8Ju/w LmE5+/ngQ7ZBEowXUr5D8tzEZljRG8xYEHp704sNe+D2p1aoWj3sxfN9OVxX/7xMVOlE bI9SudQcJ0CiASSjbIfJsHFTxo3lp95/QXHM5aAOd0DlNMW/E6kV53f8MdR2O4ejR1MB 1kyZjzgWKofeHSYZw9EKmPyVcWwO68rtNogpY2zyu2q3dme4o06JWH07Si+p1wqCjLD6 eNP5f8XGVQ1O/5ONvoENq4bjS+gFq+u8Do9iEHeTs/6zfUUModO5V5OO4u+9LiTCRnKF 1BDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1517546ejd.111.2021.02.01.05.26.19; Mon, 01 Feb 2021 05:26:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231858AbhBANZa (ORCPT + 99 others); Mon, 1 Feb 2021 08:25:30 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:59757 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231860AbhBANZ1 (ORCPT ); Mon, 1 Feb 2021 08:25:27 -0500 Received: from fsav401.sakura.ne.jp (fsav401.sakura.ne.jp [133.242.250.100]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 111DOIp8071062; Mon, 1 Feb 2021 22:24:18 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav401.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav401.sakura.ne.jp); Mon, 01 Feb 2021 22:24:18 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav401.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 111DOHSA071058 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Mon, 1 Feb 2021 22:24:18 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [PATCH v4 (resend)] lockdep: Allow tuning tracing capacity constants. To: Andrew Morton , Linus Torvalds Cc: Peter Zijlstra , Ingo Molnar , Will Deacon , LKML , Dmitry Vyukov References: <20210120101044.9106-1-penguin-kernel@I-love.SAKURA.ne.jp> From: Tetsuo Handa Message-ID: Date: Mon, 1 Feb 2021 22:24:14 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Andrew and Linus. We are stuck because Peter cannot respond. I think it is time to send this patch to linux-next. What do you think? On 2021/01/20 19:18, Dmitry Vyukov wrote: > On Wed, Jan 20, 2021 at 11:12 AM Tetsuo Handa > wrote: >> >> Since syzkaller continues various test cases until the kernel crashes, >> syzkaller tends to examine more locking dependencies than normal systems. >> As a result, syzbot is reporting that the fuzz testing was terminated >> due to hitting upper limits lockdep can track [1] [2] [3]. >> >> Peter Zijlstra does not want to allow tuning these limits via kernel >> config options, for such change discourages thinking. But analysis via >> /proc/lockdep* did not show any obvious culprit [4] [5]. It is possible >> that many hundreds of kn->active lock instances are to some degree >> contributing to these problems, but there is no means to verify whether >> these instances are created for protecting same callback functions. >> Unless Peter provides a way to make these instances per "which callback >> functions the lock instance will call (identified by something like MD5 >> of string representations of callback functions which each lock instance >> will protect)" than plain "serial number", I don't think that we can >> verify the culprit. >> >> [1] https://syzkaller.appspot.com/bug?id=3d97ba93fb3566000c1c59691ea427370d33ea1b >> [2] https://syzkaller.appspot.com/bug?id=381cb436fe60dc03d7fd2a092b46d7f09542a72a >> [3] https://syzkaller.appspot.com/bug?id=a588183ac34c1437fc0785e8f220e88282e5a29f >> [4] https://lkml.kernel.org/r/4b8f7a57-fa20-47bd-48a0-ae35d860f233@i-love.sakura.ne.jp >> [5] https://lkml.kernel.org/r/1c351187-253b-2d49-acaf-4563c63ae7d2@i-love.sakura.ne.jp >> >> Reported-by: syzbot >> Reported-by: syzbot >> Reported-by: syzbot >> Signed-off-by: Tetsuo Handa >> Acked-by: Dmitry Vyukov > > Thanks for your persistence! > I still support this. And assessment of lockdep stats on overflow > seems to confirm it's just a very large lock graph triggered by > syzkaller. >